浏览代码

Update ocr_badcase.py

quyuan01 1 年之前
父节点
当前提交
db54796a72
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/ocr_badcase.py

+ 1 - 1
tools/ocr_badcase.py

@@ -801,7 +801,7 @@ def compare_edit_distance(json_file, overall_report):
     
     json_edit_distance = json_data['pdf间的平均编辑距离']
     
-    if overall_report['pdf间的平均编辑距离'] >= json_edit_distance:
+    if overall_report['pdf间的平均编辑距离'] > json_edit_distance:
         return 0
     else:
         return 1