|
|
@@ -191,9 +191,9 @@ class BaseCor:
|
|
|
continue
|
|
|
result.ocr_text = self.after_process(result.ocr_text)
|
|
|
results.append(result)
|
|
|
- if logDisplay:
|
|
|
- logger.attr(name='%s %ss' % (self.name, float2str(time.time() - start_time)),
|
|
|
- text=str([result.ocr_text for result in results]))
|
|
|
+ if logDisplay:
|
|
|
+ logger.attr(name='%s %ss' % (self.name, float2str(time.time() - start_time)),
|
|
|
+ text=str([result.ocr_text for result in results]))
|
|
|
return results
|
|
|
|
|
|
def match(self, result: str, included: bool=False) -> bool:
|