Spaces:
Runtime error
Runtime error
Commit
·
40fac5a
1
Parent(s):
4ea1da3
Update detection.py
Browse files- detection.py +1 -1
detection.py
CHANGED
@@ -14,7 +14,7 @@ class ObjectDetection:
|
|
14 |
model = YOLO(f"weights/{self.model_name}_best.pt")
|
15 |
return model
|
16 |
|
17 |
-
|
18 |
results = self.model(frame)
|
19 |
|
20 |
labels = []
|
|
|
14 |
model = YOLO(f"weights/{self.model_name}_best.pt")
|
15 |
return model
|
16 |
|
17 |
+
def v8_score_frame(self, frame):
|
18 |
results = self.model(frame)
|
19 |
|
20 |
labels = []
|