Skip to content

Instantly share code, notes, and snippets.

@vwrobel
vwrobel / color_select.py
Created August 14, 2016 21:11
video filters
import cv2
import numpy as np
from tqdm import tqdm
def main(video, param, filepath_avi ):
lower = np.array(param['lower'], dtype='uint8') #lower color boundary
upper = np.array(param['upper'], dtype='uint8') #upper color boundary