Created
March 11, 2024 03:53
-
-
Save jzhang533/e19404f6879c8f4f9e73e02eb6a49d9d to your computer and use it in GitHub Desktop.
tinydemo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from paddleocr import PaddleOCR | |
ocr = PaddleOCR( | |
use_angle_cls=True, lang="en" | |
) # need to run only once to download and load model into memory | |
img_path = "./doc/imgs_en/img_12.jpg" | |
result = ocr.ocr(img_path, cls=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment