Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ def video_fn(video_in_filepath):
|
|
151 |
category_index,
|
152 |
use_normalized_coordinates=True,
|
153 |
max_boxes_to_draw=200,
|
154 |
-
min_score_thresh=.50,
|
155 |
agnostic_mode=False,
|
156 |
line_thickness=2)
|
157 |
|
|
|
151 |
category_index,
|
152 |
use_normalized_coordinates=True,
|
153 |
max_boxes_to_draw=200,
|
154 |
+
min_score_thresh=.50 if threshold is not None else 0.40,
|
155 |
agnostic_mode=False,
|
156 |
line_thickness=2)
|
157 |
|