Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def get_intelligence(frame, box, label):
|
|
| 22 |
return dist_cat, direction
|
| 23 |
|
| 24 |
def predict(img):
|
| 25 |
-
results = model(img, conf=0.
|
| 26 |
annotated_img = img.copy()
|
| 27 |
|
| 28 |
status_reports = []
|
|
|
|
| 22 |
return dist_cat, direction
|
| 23 |
|
| 24 |
def predict(img):
|
| 25 |
+
results = model(img, conf=0.75)
|
| 26 |
annotated_img = img.copy()
|
| 27 |
|
| 28 |
status_reports = []
|