Spaces:
Runtime error
Runtime error
Commit
·
220e07e
1
Parent(s):
734ec8a
Update detection.py
Browse files- detection.py +1 -1
detection.py
CHANGED
@@ -48,7 +48,7 @@ class ObjectDetection:
|
|
48 |
labels, conf, coord = results
|
49 |
|
50 |
# Resize the frame to 400x400
|
51 |
-
frame = cv2.resize(frame, (
|
52 |
|
53 |
box_color = self.get_color(box_color)
|
54 |
text_color = self.get_color(text_color)
|
|
|
48 |
labels, conf, coord = results
|
49 |
|
50 |
# Resize the frame to 400x400
|
51 |
+
frame = cv2.resize(frame, (200, 200))
|
52 |
|
53 |
box_color = self.get_color(box_color)
|
54 |
text_color = self.get_color(text_color)
|