1 | initial version |
If you do simple frame differencing between frame you should get a basic idea of how much movement you have. If they are not moving or moving very slowly you will have a lot less change than if they are moving quickly.
If you need something more sophisticated you can use optic flow to estimate the movement in the image.