Skip to content

Interactive optical flow demo (Python & C++) with motion-controlled bouncing ball

License

Notifications You must be signed in to change notification settings

LMamon/optical_flow_ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Optical Flow Ball

This demo/project explores interactive motion tracking using optical flow.
It demonstrates two implementations — one in Python and one in C++ to compare approaches across languages and APIs.

Purpose

  • apply optical flow methods (Lucas-Kanade method).
  • Build an interactive demo where a virtual ball reacts to motion in a live feed.
  • Compare the ergonomics of Python (fast prototyping) vs. C++ (fine-grained control, performance).

Key Outcomes

  • Python version: Feature tracking with trails; proof of concept.
  • C++ version: Localized ROI interaction; ball responds only to motion within its region.
  • Cross-language learning: Demonstrates equivalent logic in two ecosystems.

Structure

optical_flow_ball/
    python/ #python implementation
    cpp/ #c++ implementation
    README.MD

About

Interactive optical flow demo (Python & C++) with motion-controlled bouncing ball

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published