We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f221019 commit 7c7599aCopy full SHA for 7c7599a
supervision/detection/core.py
@@ -906,13 +906,17 @@ def from_ncnn(cls, ncnn_results) -> Detections:
906
[ncnn](https://github.com/Tencent/ncnn) inference result.
907
Supports object detection models.
908
909
- Args:
+ Arguments:
910
ncnn_results (dict): The output Results instance from ncnn.
911
912
- import cv2
+ Returns:
913
+ Detections: A new Detections object.
914
+
915
+ Example:
916
+ ```python
917
+ import cv2
918
from ncnn.model_zoo import get_model
919
import supervision as sv
-
920
image = cv2.imread(<SOURCE_IMAGE_PATH>)
921
model = get_model(
922
"yolov8s",
0 commit comments