ソースを参照

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