Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def predict2(image_np):
|
|
60 |
category_index,
|
61 |
use_normalized_coordinates=True,
|
62 |
max_boxes_to_draw=20,
|
63 |
-
min_score_thresh=0.
|
64 |
agnostic_mode=False,
|
65 |
line_thickness=2)
|
66 |
|
@@ -90,8 +90,8 @@ def predict4(image_np):
|
|
90 |
result['detection_scores'][0],
|
91 |
category_index,
|
92 |
use_normalized_coordinates=True,
|
93 |
-
max_boxes_to_draw=
|
94 |
-
min_score_thresh=.
|
95 |
agnostic_mode=False,
|
96 |
line_thickness=2)
|
97 |
|
|
|
60 |
category_index,
|
61 |
use_normalized_coordinates=True,
|
62 |
max_boxes_to_draw=20,
|
63 |
+
min_score_thresh=0.3,
|
64 |
agnostic_mode=False,
|
65 |
line_thickness=2)
|
66 |
|
|
|
90 |
result['detection_scores'][0],
|
91 |
category_index,
|
92 |
use_normalized_coordinates=True,
|
93 |
+
max_boxes_to_draw=20,
|
94 |
+
min_score_thresh=.30,
|
95 |
agnostic_mode=False,
|
96 |
line_thickness=2)
|
97 |
|