Hello, good day to everyone
I would like to integrate a library to perform ocr on images. I manage to integrate paddleOCR but I notice that the accuracy drops a lot when I compare the same model in Google Colab. Any idea or suggestion.
conda.yml
channels:
- conda-forge
dependencies:
- python=3.7.5
- pip=20.1
- python-Levenshtein=0.12.2
- pip:
- rpaframework==13.0.0 # https://rpaframework.org/releasenotes.html
- paddlepaddle==2.2.2
- paddleocr==2.4.0
- opencv-python==4.1.2.30
ImageToWord.py
from paddleocr import PaddleOCR
def get_word(img_path):
ocr = PaddleOCR(use_angle_cls=True, lang='en', use_gpu=False)
result = ocr.ocr(img_path, det=False, cls=True)
print(result)
Thanks a lot