Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. [[0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  2. 0.99782705 0.99782705 0.99782705]
  3. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  4. 0.99782705 0.99782705 0.99782705]
  5. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  6. 0.99782705 0.99782705 0.99782705]
  7. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  8. 0.99782705 0.99782705 0.99782705]
  9. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  10. 0.99919313 0.99782705 0.99782705]
  11. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  12. 1. 0.99782705 0.99782705]
  13. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  14. 0.99782705 0.99782705 0.99782705]
  15. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  16. 0.99782705 0.99782705 0.99782705]
  17. [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
  18. 0.99782705 0.99782705 0.99782705]]
  19.  
  20. img = cv2.imread(image_path)
  21. heatmap = cv2.resize(heatmap, (img.shape[1], img.shape[0]))
  22.  
  23. heatmap = cv2.applyColorMap(np.uint8(255 * heatmap), cv2.COLORMAP_JET)
  24. superimposed = heatmap * 0.4 + img
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement