Unverified Commit db54796a authored by quyuan01's avatar quyuan01 Committed by GitHub

Update ocr_badcase.py

parent 2783bb39
...@@ -801,7 +801,7 @@ def compare_edit_distance(json_file, overall_report): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment