Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99919313 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 1. 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]
- [0.99782705 0.99782705 0.99782705 0.99782705 0.99782705 0.99782705
- 0.99782705 0.99782705 0.99782705]]
- img = cv2.imread(image_path)
- heatmap = cv2.resize(heatmap, (img.shape[1], img.shape[0]))
- heatmap = cv2.applyColorMap(np.uint8(255 * heatmap), cv2.COLORMAP_JET)
- superimposed = heatmap * 0.4 + img
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement