Spaces:
Sleeping
Sleeping
Testimony Adekoya
commited on
Commit
·
a3c1bbf
1
Parent(s):
f37553c
Not figgured yet
Browse files
src/detection/strategies/geometric.py
CHANGED
@@ -99,7 +99,7 @@ class GeometricProcessor(BaseProcessor):
|
|
99 |
# Draw a colored border around the frame
|
100 |
cv2.rectangle(frame, (0, 0), (w, h), color, 10)
|
101 |
|
102 |
-
# Display status text
|
103 |
status_text = f"Status: {level} (Score: {score_val:.2f})"
|
104 |
cv2.putText(frame, status_text, (20, 40), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 255, 255), 2, cv2.LINE_AA)
|
105 |
|
|
|
99 |
# Draw a colored border around the frame
|
100 |
cv2.rectangle(frame, (0, 0), (w, h), color, 10)
|
101 |
|
102 |
+
# Display status text
|
103 |
status_text = f"Status: {level} (Score: {score_val:.2f})"
|
104 |
cv2.putText(frame, status_text, (20, 40), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 255, 255), 2, cv2.LINE_AA)
|
105 |
|