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
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.3.tar.gz
(167.8 kB
view hashes)
Built Distribution
easypaddleocr-0.1.3-py3-none-any.whl
(212.9 kB
view hashes)
Close
Hashes for easypaddleocr-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45b5443665fa85c5ea84c3e95e8f0c60afbb59355bc2f28d02e578aa2cdc1027 |
|
MD5 | 9ba7a8898db1ff5c0a886267d314d715 |
|
BLAKE2b-256 | b9c8390463335844ecdd2bcfc9a102df7ee6c0cbd708cda034c4961d2280f227 |