From 03702de64766a77989ae2005dcf5c04b3d57d819 Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Tue, 20 May 2025 18:07:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=8F=E8=BF=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 67dccfa..b569d94 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ reader = easyocr.Reader(['ch_sim'], gpu=False) results_id.append(reader.readtext(rgb, detail=0)) ``` ## 比较 -采用最简单的比较方式,定义变量max_val = 0.0和max_idx = 0。
-循环对所有评分变量进行对比记下最大值何其对于的ID序号。 +采用最简单的比较方式,定义变量max_val = 0.0、max_idx = 0和min_val = 20.0、min_idx = []。
+循环对所有评分变量进行对比记下最大值、最小值及其对于的ID序号。 ## 结果展示 ### 图像分割结果 图像ID分割效果
@@ -72,7 +72,12 @@ results_id.append(reader.readtext(rgb, detail=0)) 玩家9 ['依琳 丫 ~'] 的评分为: ['9.4'] 玩家10 ['新买的泳衣'] 的评分为: ['8.7'] 全场最高分: 12.7 -全场最佳玩家ID: ['牢王训练家'] +全场最高分玩家ID: +['牢王训练家'] +全场最低分: 5.1 +全场最低分玩家ID: +['李白不会闪避'] +['纸品包装定制'] ``` ## 致谢 感谢[`easyocr`](https://github.com/JaidedAI/EasyOCR)项目团队的每一个成员。