Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def infer(image=None, url:str=None):
|
|
47 |
|
48 |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
49 |
prediction = deployment.infer(image)
|
50 |
-
output = show_image_with_annotation_scene(
|
51 |
output = cv2.cvtColor(output, cv2.COLOR_BGR2RGB)
|
52 |
return [output, prediction.overview]
|
53 |
|
|
|
47 |
|
48 |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
49 |
prediction = deployment.infer(image)
|
50 |
+
output = show_image_with_annotation_scene(image, prediction, show_results=False)
|
51 |
output = cv2.cvtColor(output, cv2.COLOR_BGR2RGB)
|
52 |
return [output, prediction.overview]
|
53 |
|