Alessio Grancini commited on
Commit
79c734b
·
verified ·
1 Parent(s): b87681d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -250,6 +250,7 @@ def get_detection_data(image_data):
250
  img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
251
 
252
  #image = utils.resize(img)
 
253
  image_segmentation, objects_data = img_seg.predict(image)
254
  depthmap, depth_colormap = depth_estimator.make_prediction(image)
255
 
 
250
  img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
251
 
252
  #image = utils.resize(img)
253
+ image = img
254
  image_segmentation, objects_data = img_seg.predict(image)
255
  depthmap, depth_colormap = depth_estimator.make_prediction(image)
256