Uses Python with OpenCV in miscellaneous demos of algorithms useful for computer vision.
Note: Line clipping was moved to its own repo.
python -m pip install -e .
- draw_flow() given a 2-D complex Numpy array of optical flow
flow
, draw flow vectors with arrows - draw_hsv() make a colored HSV image corresponding to flow direction and intensity at each point
- connectedComponents.py given a binary image
morphed
and theblobdet
fromsetupblob()
, along withimg
, do connected components analysis - OpticalFlow_Matlab_vs_Python.py using Horn-Schunck optical flow estimation with OpenCV in Python. Not so obvious from the docs, and with notes on how to make this match Matlab's vision.opticalFlowHS method. Install Matlab Engine for Python