title: Superimpose heatmap on a base image OpenCV Python
body: <p>Please look at this <a href="https://github.com/metalbubble/CAM" rel="noreferrer">github page</a>. I want to generate heat maps in this way using Python PIL,open cv or matplotlib library. Can somebody help me figure it out? <a href="https://i.stack.imgur.com/OYPSP.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/OYPSP.jpg" alt="Superimposed heatmaps"></a></p>
  
  <p>I could create a heat map for my network at the same size as the input, but I am not able superimpose them. The heatmap shape is (800,800) and the base image shape is (800,800,3)</p>