stopwords-fix

This commit is contained in:
2024-09-29 13:02:30 +03:00
parent 4b517441ee
commit 3e4aefc429
3 changed files with 76 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ def ocr_recognize(file_path):
# Use EasyOCR to detect text in the photo
results = reader.readtext(file_path)
result = result[-1]
result = results[-1]
[_coords, ocr_text, ocr_accuracy] = result
logger.debug("OCR Result: %s", ocr_text)
if ocr_accuracy.item() > 0.5: