diff --git a/supervision/detection/core.py b/supervision/detection/core.py index ecef5c78..70285c2d 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -326,7 +326,7 @@ class Detections: >>> inferencer = DetInferencer(model_name, checkpoint, device) >>> mmdet_result = inferencer(SOURCE_IMAGE_PATH, out_dir='./output', ... return_datasamples=True)["predictions"][0] - >>> detections = sv.Detections.from_mmdet(mmdet_result) + >>> detections = sv.Detections.from_mmdetection(mmdet_result) ``` """