Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Motion Heatmap Using OpenCV in Python*

$
0
0

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

This article continues on GitHub


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>