ef85abbe by 周伟奇

fix bug

1 parent dcce1082
...@@ -36,7 +36,7 @@ class Comparison: ...@@ -36,7 +36,7 @@ class Comparison:
36 36
37 def common_compare(self, input_str, ocr_str, idx, **kwargs): 37 def common_compare(self, input_str, ocr_str, idx, **kwargs):
38 if not isinstance(input_str, str) or not isinstance(ocr_str, str): 38 if not isinstance(input_str, str) or not isinstance(ocr_str, str):
39 return self.RESULT_N 39 return self.RESULT_N, ocr_str
40 return self.build_res(input_str == ocr_str), ocr_str 40 return self.build_res(input_str == ocr_str), ocr_str
41 41
42 def name_compare(self, input_str, ocr_str, idx, **kwargs): 42 def name_compare(self, input_str, ocr_str, idx, **kwargs):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!