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.1.tar.gz
(167.3 kB
view hashes)
Built Distribution
easypaddleocr-0.1.1-py3-none-any.whl
(212.4 kB
view hashes)
Close
Hashes for easypaddleocr-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743b8c26c740c2120ff8e8a3f436abf1124f441e6ede1c7fb3a66a350859957d |
|
MD5 | 138d85cf2c57277b04683ece63153187 |
|
BLAKE2b-256 | 057154135669d2a62295c5ccc2e559ff5e64e3f02e365dab6e460e6ee836c330 |