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.5.tar.gz
(165.4 kB
view hashes)
Built Distribution
easypaddleocr-0.1.5-py3-none-any.whl
(209.5 kB
view hashes)
Close
Hashes for easypaddleocr-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb7051c9fd39446423cbba9f223d7b9432397a91d9e4fb2b284ba8b58ff91b1 |
|
MD5 | 4226dc302d78e86b6eecf5af25660b88 |
|
BLAKE2b-256 | a409f1d30f7619044e9065034a220a92c1af5fcd9d0ecc05ca426b2887d83a32 |