title: How to make a heat map using python and openCV
body: <p>I am trying to implement this: </p>
  
  <p>YouTube link- <a href="https://www.youtube.com/watch?v=Qk4V_x6B7jY&amp;t=5s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=Qk4V_x6B7jY&amp;t=5s</a></p>
  
  <p>Blog link- <a href="http://www.businessinsider.in/These-Heat-Maps-Show-How-Retailers-Track-You-As-You-Shop/articleshow/29512380.cms" rel="nofollow noreferrer">http://www.businessinsider.in/These-Heat-Maps-Show-How-Retailers-Track-You-As-You-Shop/articleshow/29512380.cms</a></p>
  
  <p>I want to use python and openCV but I am a beginner in openCV and hence, I have no idea How to implement this. </p>
  
  <p>I have some basic idea. I have been able to track motion and draw a rectangle around the moving object and i am saving the co-ordinates of the rectangle in an external csv file. But, i am stuck on plotting heat map part. How to make it so that, over time when people are moving more and more in an area, the color changes from blue(normal movement ) to red (high movement) ? Please help.. </p>