ef85abbe by 周伟奇

fix bug

1 parent dcce1082
......@@ -36,7 +36,7 @@ class Comparison:
def common_compare(self, input_str, ocr_str, idx, **kwargs):
if not isinstance(input_str, str) or not isinstance(ocr_str, str):
return self.RESULT_N
return self.RESULT_N, ocr_str
return self.build_res(input_str == ocr_str), ocr_str
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!