Forráskód Böngészése

Update ocr_badcase.py

quyuan01 1 éve
szülő
commit
db54796a72
1 módosított fájl, 1 hozzáadás és 1 törlés
  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间的平均编辑距离']
     json_edit_distance = json_data['pdf间的平均编辑距离']
     
     
-    if overall_report['pdf间的平均编辑距离'] >= json_edit_distance:
+    if overall_report['pdf间的平均编辑距离'] > json_edit_distance:
         return 0
         return 0
     else:
     else:
         return 1
         return 1