Pure Python optical flow: Horn-Schunck
Project description
Optical Flow: Horn-Schunck
Python implementation of optical flow estimation using only the Scipy stack for:
- Horn Schunck
Lucas-Kanade is also possible in the future, let us know if you're interested in Lucas Kanade.
Install
python -m pip install -e .
optionally, to run self-tests:
python -m pip install -e .[tests]
pytest -v
Examples
The program scripts expect directory glob pattern
imageio loads a wide varity of images and video.
Box:
python HornSchunck.py src/pyoptflow/data/tests/box box*.bmp
Office: all time steps:
python HornSchunck.py src/pyoptflow/data/tests/office office*.bmp
or just the first 2 time steps:
python HornSchunck.py src/pyoptflow/data/tests/office office.[0-2].bmp
Rubic:
python HornSchunck.py src/pyoptflow/data/tests/rubic rubic*.bmp
Sphere
python HornSchunck.py src/pyoptflow/data/tests/sphere sphere*.bmp
Compare: Matlab Computer Vision toolbox: in matlab, similar method in Octave and a comparison plot using Matlab Computer Vision toolbox.
Reference:Inspiration
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyoptflow-1.5.0.tar.gz.
File metadata
- Download URL: pyoptflow-1.5.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16ee5daa230c03820372a1d156626fcaf27897592127c9e7cb81c49fa0b0cd1e
|
|
| MD5 |
1c457125c81403b8882defbfc9cfdbea
|
|
| BLAKE2b-256 |
44373949516fb83e80143abf495e1a20667bb91422586a93c3941a5ed583e5f2
|
Provenance
The following attestation bundles were made for pyoptflow-1.5.0.tar.gz:
Publisher:
publish-python-package.yml on scivision/pyoptflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyoptflow-1.5.0.tar.gz -
Subject digest:
16ee5daa230c03820372a1d156626fcaf27897592127c9e7cb81c49fa0b0cd1e - Sigstore transparency entry: 1086612621
- Sigstore integration time:
-
Permalink:
scivision/pyoptflow@efa30693b45481579e566a7fc5dd56a2253b79fc -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/scivision
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-package.yml@efa30693b45481579e566a7fc5dd56a2253b79fc -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyoptflow-1.5.0-py3-none-any.whl.
File metadata
- Download URL: pyoptflow-1.5.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f58a99fbb90c3228d1673d66afb6bd9f6d75b314284d2f92c2145213f355359
|
|
| MD5 |
1bce90983f0ac23c000f7303a5a12210
|
|
| BLAKE2b-256 |
da75e4de2b9105713931b1b3386372a13ce24ef08d2513e91204fee0ccf4c16e
|
Provenance
The following attestation bundles were made for pyoptflow-1.5.0-py3-none-any.whl:
Publisher:
publish-python-package.yml on scivision/pyoptflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyoptflow-1.5.0-py3-none-any.whl -
Subject digest:
5f58a99fbb90c3228d1673d66afb6bd9f6d75b314284d2f92c2145213f355359 - Sigstore transparency entry: 1086612662
- Sigstore integration time:
-
Permalink:
scivision/pyoptflow@efa30693b45481579e566a7fc5dd56a2253b79fc -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/scivision
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-package.yml@efa30693b45481579e566a7fc5dd56a2253b79fc -
Trigger Event:
release
-
Statement type: