From 3fca6cf6d0a0cc81a40c42ee472c754262c70db4 Mon Sep 17 00:00:00 2001 From: narugo1992 Date: Wed, 11 Sep 2024 17:30:15 +0800 Subject: [PATCH] dev(narugo): fix a problem in docstring, test skip --- imgutils/detect/nudenet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/imgutils/detect/nudenet.py b/imgutils/detect/nudenet.py index 993ef372e1d..e5db39157db 100644 --- a/imgutils/detect/nudenet.py +++ b/imgutils/detect/nudenet.py @@ -228,6 +228,7 @@ def detect_with_nudenet(image: ImageTyping, topk: int = 100, :param iou_threshold: The IoU threshold for NMS (default: 0.45). :param score_threshold: The score threshold for detections (default: 0.25). :return: A list of tuples, each containing: + - A bounding box as (x1, y1, x2, y2) - A label string - A confidence score