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.0.tar.gz
(128.9 kB
view hashes)
Built Distribution
easypaddleocr-0.2.0-py3-none-any.whl
(184.8 kB
view hashes)
Close
Hashes for easypaddleocr-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb7671bce9d9f7b226ede551546ef76df9f780cb7db30c37cc5f289962e3310e |
|
MD5 | 25283e11b39795301012452dfe07197e |
|
BLAKE2b-256 | d9d1f295558ad2f46a1855d73b8059da4497307e007e245986635890c12fddf8 |