Spaces:
Sleeping
Sleeping
threshold update
Browse files
demos/single_image_inference.py
CHANGED
@@ -13,7 +13,7 @@ def single_image_inference(image_path):
|
|
13 |
)
|
14 |
results = detection_service.image_det_save(
|
15 |
image_path=image_path,
|
16 |
-
thresh=0.
|
17 |
)
|
18 |
for result in results:
|
19 |
original_image = result.orig_img
|
|
|
13 |
)
|
14 |
results = detection_service.image_det_save(
|
15 |
image_path=image_path,
|
16 |
+
thresh=0.5
|
17 |
)
|
18 |
for result in results:
|
19 |
original_image = result.orig_img
|