Skip to content

Python computer vision algorithms using OpenCV, including plots

License

Notifications You must be signed in to change notification settings

scivision/morecvutils

Repository files navigation

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