A simple, optional tool for PaddleOCR Detection, direction classification and recognition on CPU and GPU using torch.
Project description
EasyPaddleOCR
A simple, optional tool for PaddleOCR Detection, direction classification and recognition on CPU and GPU using torch.
Usage
import cv2
import numpy as np
from easypaddleocr import EasyPaddleOCR
easyPaddleOCR = EasyPaddleOCR(use_angle_cls=True, needWarmUp=True)
image_path = 'your-picture-filepath'
image_ndarray = np.array(cv2.imread(image_path))
result = easyPaddleOCR.ocr(image_ndarray)
print(result)
Reference
- https://github.com/WenmuZhou/PytorchOCR
- https://github.com/PaddlePaddle/PaddleOCR
- https://github.com/frotms/PaddleOCR2Pytorch
Additional Notes:
This repository was originally the Fork of https://github.com/WenmuZhou/PytorchOCR
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easypaddleocr-0.1.4.tar.gz
(167.9 kB
view hashes)
Built Distribution
easypaddleocr-0.1.4-py3-none-any.whl
(212.9 kB
view hashes)
Close
Hashes for easypaddleocr-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0e4292e445eb3d4d12d01ed5580da7376d520910b064a417b0055a57005b1cd |
|
MD5 | f701c4367edff6a8c6d9d6fb433dd38e |
|
BLAKE2b-256 | 60596ebe229a47930d87434bd59d47859f108b2773da0ba63962d73e186d7345 |