Algorithm for detecting apparent motion of image objects
Project requires opencv and numpy libraries to run
Works stable with Python 3.6.1
Algorithm steps
- capture initial frame
- search for points to track if needed
- capture another frame
- calculate the difference between tracked points
- repeat the process exept the first step
The program displays the result as a video with marked tracing points. They are colored with blue. The clearer the motion the brighter the point
Examples
Points on left are less bright because that part of the train moves visually slower