Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -218,7 +218,7 @@ async def predict_single_dog(image):
|
|
218 |
# return iou
|
219 |
|
220 |
|
221 |
-
async def detect_multiple_dogs(image, conf_threshold=0.
|
222 |
results = model_yolo(image, conf=conf_threshold, iou=iou_threshold)[0]
|
223 |
dogs = []
|
224 |
boxes = []
|
|
|
218 |
# return iou
|
219 |
|
220 |
|
221 |
+
async def detect_multiple_dogs(image, conf_threshold=0.1, iou_threshold=0.3):
|
222 |
results = model_yolo(image, conf=conf_threshold, iou=iou_threshold)[0]
|
223 |
dogs = []
|
224 |
boxes = []
|