Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def predict2(image_np,Threshold):
|
|
69 |
category_index,
|
70 |
use_normalized_coordinates=True,
|
71 |
max_boxes_to_draw=20,
|
72 |
-
min_score_thresh=
|
73 |
agnostic_mode=False,
|
74 |
line_thickness=2)
|
75 |
|
@@ -96,7 +96,7 @@ def predict3(image_np,Threshold):
|
|
96 |
category_index,
|
97 |
use_normalized_coordinates=True,
|
98 |
max_boxes_to_draw=20,
|
99 |
-
min_score_thresh=
|
100 |
agnostic_mode=False,
|
101 |
line_thickness=2)
|
102 |
|
|
|
69 |
category_index,
|
70 |
use_normalized_coordinates=True,
|
71 |
max_boxes_to_draw=20,
|
72 |
+
min_score_thresh=Threshold,#0.38,
|
73 |
agnostic_mode=False,
|
74 |
line_thickness=2)
|
75 |
|
|
|
96 |
category_index,
|
97 |
use_normalized_coordinates=True,
|
98 |
max_boxes_to_draw=20,
|
99 |
+
min_score_thresh=Threshold,#.38,
|
100 |
agnostic_mode=False,
|
101 |
line_thickness=2)
|
102 |
|