Skip to content

Commit

Permalink
Use yolov8
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Hofmann authored and Oliver Hofmann committed Aug 24, 2024
1 parent 96e37a2 commit 94971db
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed model/yolov10n.pt
Binary file not shown.
Binary file added model/yolov8n.pt
Binary file not shown.
2 changes: 1 addition & 1 deletion services/object_detection_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class ObjectDetectionService:
def __init__(self):
self.object_detection_model = YOLO("./../model/yolov10n.pt")
self.object_detection_model = YOLO("./../model/yolov8n.pt")

@staticmethod
def _distance_calculator(box, img: np.ndarray) -> float:
Expand Down

0 comments on commit 94971db

Please sign in to comment.