JohnChiu commited on
Commit
fd8129a
·
1 Parent(s): 3c6dc95

Add application file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,8 +77,8 @@ def plot_depth(nor_hist):
77
  img_tof = to_uint8_image(tof)
78
  img_filter = to_uint8_image(tof_filter) * mask
79
 
80
- colored_tof = cv2.applyColorMap(img_tof, cv2.COLORMAP_INFERNO)[:, :, ::-1]
81
- colored_tof_filter = cv2.applyColorMap(img_filter, cv2.COLORMAP_INFERNO)[:, :, ::-1]
82
 
83
  return [colored_tof, colored_tof_filter]
84
 
 
77
  img_tof = to_uint8_image(tof)
78
  img_filter = to_uint8_image(tof_filter) * mask
79
 
80
+ colored_tof = cv2.applyColorMap(img_tof, cv2.COLORMAP_RAINBOW)[:, :, ::-1]
81
+ colored_tof_filter = cv2.applyColorMap(img_filter, cv2.COLORMAP_RAINBOW)[:, :, ::-1]
82
 
83
  return [colored_tof, colored_tof_filter]
84