You should read about optical flow analysis.
Compare consecutive frames to determine direction of motion using OpenCV
-
28-06-2022 - |
Pregunta
I need to compare every frame with the previous and determine in which direction the movement has occurred. Is this possible by just getting the difference between the two frames? Will it work with slow motion of about 2 m/s? Also, how could I calculate direction of motion using the same?
Solución
Otros consejos
You should read about SLAM as well.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow