Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ CONFIG = {
|
|
| 59 |
"improper_tool_use": 0.15
|
| 60 |
},
|
| 61 |
"IOU_THRESHOLD": 0.4,
|
| 62 |
-
"MIN_VIOLATION_FRAMES":
|
| 63 |
"HELMET_CONFIDENCE_THRESHOLD": 0.7,
|
| 64 |
"MAX_PROCESSING_TIME": 90 # Enforce 30-second processing limit
|
| 65 |
}
|
|
|
|
| 59 |
"improper_tool_use": 0.15
|
| 60 |
},
|
| 61 |
"IOU_THRESHOLD": 0.4,
|
| 62 |
+
"MIN_VIOLATION_FRAMES": 5, # Reduced to ensure violations are detected with fewer frames
|
| 63 |
"HELMET_CONFIDENCE_THRESHOLD": 0.7,
|
| 64 |
"MAX_PROCESSING_TIME": 90 # Enforce 30-second processing limit
|
| 65 |
}
|