{"id":18076204,"url":"https://github.com/scivision/pyoptflow","last_synced_at":"2025-04-12T08:12:33.454Z","repository":{"id":62582294,"uuid":"71314875","full_name":"scivision/pyoptflow","owner":"scivision","description":"Optical Flow estimation in pure Python","archived":false,"fork":false,"pushed_at":"2021-10-18T06:11:16.000Z","size":2737,"stargazers_count":77,"open_issues_count":2,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T08:12:27.334Z","etag":null,"topics":["geoscience","horn-schunck","lucas-kanade","optical-flow","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scivision.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-19T03:21:45.000Z","updated_at":"2024-11-12T16:57:38.000Z","dependencies_parsed_at":"2022-11-03T22:01:34.394Z","dependency_job_id":null,"html_url":"https://github.com/scivision/pyoptflow","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2Fpyoptflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2Fpyoptflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2Fpyoptflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2Fpyoptflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scivision","download_url":"https://codeload.github.com/scivision/pyoptflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537143,"owners_count":21120711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geoscience","horn-schunck","lucas-kanade","optical-flow","python"],"created_at":"2024-10-31T11:09:13.797Z","updated_at":"2025-04-12T08:12:33.419Z","avatar_url":"https://github.com/scivision.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Optical Flow: Horn-Schunck\n\n[![image](https://zenodo.org/badge/DOI/10.5281/zenodo.1043971.svg)](https://doi.org/10.5281/zenodo.1043971)\n[![Actions Status](https://github.com/scivision/pyoptflow/workflows/ci/badge.svg)](https://github.com/scivision/pyoptflow/actions)\n[![PyPi Download stats](http://pepy.tech/badge/pyoptflow)](http://pepy.tech/project/pyoptflow)\n\nPython implementation of optical flow estimation using only the Scipy stack for:\n\n* Horn Schunck\n\nLucas-Kanade is also possible in the future, let us know if you're interested in Lucas Kanade.\n\n## Install\n\n```sh\npython -m pip install -e .\n```\n\noptionally, to run self-tests:\n\n```sh\npython -m pip install -e .[tests]\n\npytest -v\n```\n\n## Examples\n\nThe program scripts expect `directory` `glob pattern`\n\n[imageio](https://imageio.github.io/) loads a wide varity of images *and* video.\n\n**Box:**\n\n```sh\npython HornSchunck.py src/pyoptflow/data/tests/box box*.bmp\n```\n\n**Office**: all time steps:\n\n```sh\npython HornSchunck.py src/pyoptflow/data/tests/office office*.bmp\n```\n\nor just the first 2 time steps:\n\n```sh\npython HornSchunck.py src/pyoptflow/data/tests/office office.[0-2].bmp\n```\n\n**Rubic**:\n\n```sh\npython HornSchunck.py src/pyoptflow/data/tests/rubic rubic*.bmp\n```\n\n**Sphere**\n\n```sh\npython HornSchunck.py src/pyoptflow/data/tests/sphere sphere*.bmp\n```\n\nCompare: Matlab Computer Vision toolbox: in [matlab](./matlab),\nsimilar method in Octave and a comparison plot using Matlab Computer Vision toolbox.\n\nReference:[Inspiration](https://github.com/ablarry91/Optical-Flow-LucasKanade-HornSchunck/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscivision%2Fpyoptflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscivision%2Fpyoptflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscivision%2Fpyoptflow/lists"}