Alessio Grancini
commited on
Update app.py
Browse files
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 |
|