recognized+space
This commit is contained in:
@@ -15,7 +15,8 @@ def ocr_recognize(file_path):
|
||||
[_coords, ocr_text, ocr_accuracy] = result
|
||||
logger.debug("OCR Result: %s", ocr_text)
|
||||
if ocr_accuracy.item() > 0.5:
|
||||
sum_text += ocr_text
|
||||
sum_text += " " + ocr_text
|
||||
|
||||
|
||||
logger.debug(f'Recognized Text: {sum_text}')
|
||||
return sum_text
|
Reference in New Issue
Block a user