Alessio Grancini
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -249,7 +249,7 @@ def get_detection_data(image_data):
|
|
249 |
img = np.array(img)
|
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 |
|
|
|
249 |
img = np.array(img)
|
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 |
|