diff --git a/supervision/dataset/formats/yolo.py b/supervision/dataset/formats/yolo.py index 35449fde..2abb8cbd 100644 --- a/supervision/dataset/formats/yolo.py +++ b/supervision/dataset/formats/yolo.py @@ -71,7 +71,7 @@ def _image_name_to_annotation_name(image_name: str) -> str: def yolo_annotations_to_detections( - lines: List[str], resolution_wh: Tuple[int, int], with_masks: bool, is_obb: bool + lines: List[str], resolution_wh: Tuple[int, int], with_masks: bool, is_obb: bool = False ) -> Detections: if len(lines) == 0: return Detections.empty()