Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.51 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.51 KB

image Actions Status

Python versions (PyPI) Downloads

CVutils

Uses Python with OpenCV in miscellaneous demos of algorithms useful for computer vision.

Note: Line clipping was moved to its own repo.

Install

python -m pip install -e .

Functions

  • 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 the blobdet from setupblob(), along with img, 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