From f48f320ab1516cf9293144e78ea19632cdb70880 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期日, 27 四月 2025 13:24:45 +0800 Subject: [PATCH] feat:优化安全检测与药材识别逻辑 --- openvino/herb_ai.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/openvino/herb_ai.py b/openvino/herb_ai.py index c916d9e..06734ff 100644 --- a/openvino/herb_ai.py +++ b/openvino/herb_ai.py @@ -230,6 +230,9 @@ res_ = "aidetect," + f"{det_res}" logger.info("鍙戦�佸畨鍏ㄦ娴嬬粨鏋滐細"+str(res_)) l.send_msg(res_) + if 81 in class_ids: + logger.info("璇嗗埆鍒拌嵂鏉愶紝姝e湪涓婃枡") + print("璇嗗埆鍒拌嵂鏉愶紝姝e湪涓婃枡") # 涓婃枡璇嗗埆 probabilities = load_identifier(frame) -- Gitblit v1.9.3