Skip to content

Commit 943a214

Browse files
committed
fix regression: ncnn docs
1 parent f221019 commit 943a214

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

supervision/detection/core.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,10 +906,15 @@ def from_ncnn(cls, ncnn_results) -> Detections:
906906
[ncnn](https://github.com/Tencent/ncnn) inference result.
907907
Supports object detection models.
908908
909-
Args:
909+
Arguments:
910910
ncnn_results (dict): The output Results instance from ncnn.
911911
912-
import cv2
912+
Returns:
913+
Detections: A new Detections object.
914+
915+
Example:
916+
```python
917+
import cv2
913918
from ncnn.model_zoo import get_model
914919
import supervision as sv
915920

0 commit comments

Comments
 (0)