From 7b6a12a105cb10c9574a49ae1b7a9b1ca72ee534 Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Fri, 20 Dec 2024 10:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sishu_label_web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sishu_label_web.py b/sishu_label_web.py index a9135bd..f71513f 100644 --- a/sishu_label_web.py +++ b/sishu_label_web.py @@ -86,6 +86,7 @@ def annotate_images(model, image_urls, target_labels=None, conf_threshold=0.1): all_labels = model.names.values() label_colors = generate_label_colors(all_labels) + logger.debug(f"标注的置信度阈值为:" + str(conf_threshold)) for image_url in image_urls: # 假设 image_path 可能是一个 URL 或者本地路径 if image_url.startswith("http"):