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.2.1.tar.gz
(129.0 kB
view hashes)
Built Distribution
easypaddleocr-0.2.1-py3-none-any.whl
(185.0 kB
view hashes)
Close
Hashes for easypaddleocr-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9938a811f8446927f43de3a3b9418ed7e52f5b82c7d230683626e966cc752f49 |
|
MD5 | 70cd498f7b042f22ce22e5d5c3e6a62f |
|
BLAKE2b-256 | 2219a502f9935318f64fc46da6ced6612e56b57306adb291267233ce92ff2479 |