diff --git a/docs/changelog.md b/docs/changelog.md index a37bc54d..c0ef10f8 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,6 +1,6 @@ ### 0.13.0 August 8, 2023 -- Added [#236](https://github.com/roboflow/supervision/pull/236): support for mean average precision (mAP) for object detection models with [`sv.MeanAveragePrecision`](https://roboflow.github.io/supervision/metrics/detection/#meanaverageprecision). +- Added [#236](https://github.com/roboflow/supervision/pull/236): support for mean average precision (mAP) for object detection models with [`sv.MeanAveragePrecision`](https://roboflow.github.io/supervision/metrics/detection/#meanaverageprecision). ```python >>> import supervision as sv diff --git a/supervision/detection/core.py b/supervision/detection/core.py index 2742b231..ffa52978 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -469,7 +469,7 @@ class Detections: inference result. Args: - paddledet_result (List[dict]): The output Results instance from SAM + paddledet_result (List[dict]): The output Results instance from PaddleDet Returns: Detections: A new Detections object. diff --git a/supervision/tracker/byte_tracker/core.py b/supervision/tracker/byte_tracker/core.py index 4e270ab5..193a2a88 100644 --- a/supervision/tracker/byte_tracker/core.py +++ b/supervision/tracker/byte_tracker/core.py @@ -212,7 +212,7 @@ class ByteTrack: >>> def callback(frame: np.ndarray, index: int) -> np.ndarray: ... results = model(frame)[0] ... detections = sv.Detections.from_yolov8(results) - ... detections = byte_tracker.update_with_detections(detections=detections) + ... detections = byte_tracker.update_with_detections(detections) ... labels = [ ... f"#{tracker_id} {model.model.names[class_id]} {confidence:0.2f}" ... for _, _, confidence, class_id, tracker_id