diff --git a/supervision/detection/core.py b/supervision/detection/core.py index 28cdb27e..d90d5cf6 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -1101,8 +1101,8 @@ class Detections: return cls(xyxy=xyxy, data=data) if vlm == VLM.MOONDREAM: - xyxy, class_id = from_moondream(result, **kwargs) - return cls(xyxy=xyxy, class_id=class_id) + xyxy = from_moondream(result, **kwargs) + return cls(xyxy=xyxy) return cls.empty()