Code Sample: Motion Heatmap Using OpenCV in Python*

Published: 11/30/2017  

Last Updated: 11/30/2017

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
  • Adding a color/heat map

Gather Your Materials

 

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.