jw2yang commited on
Commit
0e3afa0
1 Parent(s): 2c2ecf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def show_cam_on_image(img: np.ndarray,
59
  raise Exception(
60
  "The input image should np.float32 in the range [0, 1]")
61
 
62
- cam = 0.6*heatmap + 0.4*img
63
  # cam = heatmap
64
  # cam = cam / np.max(cam)
65
  return np.uint8(255 * cam)
 
59
  raise Exception(
60
  "The input image should np.float32 in the range [0, 1]")
61
 
62
+ cam = 0.5*heatmap + 0.5*img
63
  # cam = heatmap
64
  # cam = cam / np.max(cam)
65
  return np.uint8(255 * cam)