https://github.com/scivision/morecvutils
Python computer vision algorithms using OpenCV, including plots
https://github.com/scivision/morecvutils
cohen-sutherland computer-vision geoscience opencv
Last synced: 3 months ago
JSON representation
Python computer vision algorithms using OpenCV, including plots
- Host: GitHub
- URL: https://github.com/scivision/morecvutils
- Owner: scivision
- License: mit
- Created: 2014-05-12T19:06:59.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2026-02-11T13:51:14.000Z (4 months ago)
- Last Synced: 2026-02-11T21:50:42.025Z (4 months ago)
- Topics: cohen-sutherland, computer-vision, geoscience, opencv
- Language: Python
- Homepage:
- Size: 660 KB
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://zenodo.org/badge/latestdoi/19711552)
[](https://github.com/scivision/morecvutils/actions)
[](https://pypi.python.org/pypi/morecvutils)
[](https://pepy.tech/project/morecvutils)
# CVutils
Uses Python with
[OpenCV](https://scivision.dev/category/opencv/)
in miscellaneous demos of algorithms useful for computer vision.
Note: Line clipping was [moved to its own repo](https://github.com/scivision/lineclipping-python-fortran).
## Install
```sh
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](https://scivision.dev/opencv-cv-calcopticalflowhs-horn-schunck-smoothness-lambda-parameter/).
[Install Matlab Engine for Python](https://scivision.dev/matlab-engine-callable-from-python-how-to-install-and-setup/)