소스 검색

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