Skip to main content

Computer Vision utilities, OpenCV plot helpers for Optical Flow and Blob Analysis, AVI codec helpers

Project description

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page