fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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): | ... | ... |
-
Please register or sign in to post a comment