This sample application is useful to see movement patterns over time. For example, it could be used to see the usage of entrances to a factory floor over time, or patterns of shoppers in a store.
What You’ll Learn
- Background subtraction
- Application of a threshold
- Accumulation of changed pixels over time
- Add a color/heat map
Gather Your Materials
- Python* 2.7 or greater
- OpenCV version 3.3.0 or greater
- The vtest.avi video from https://github.com/opencv/opencv/blob/master/samples/data/vtest.avi