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 details)
Built Distribution
easypaddleocr-0.1.3-py3-none-any.whl
(212.9 kB
view details)
File details
Details for the file easypaddleocr-0.1.3.tar.gz
.
File metadata
- Download URL: easypaddleocr-0.1.3.tar.gz
- Upload date:
- Size: 167.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc018fb8d56c60c067fce064cab55ca81bff2a2fde5ecc7969672230a9a76c8 |
|
MD5 | 7bacb2f747c76af14f66085c30f1dc53 |
|
BLAKE2b-256 | a3d86828e3e4abf4117d08fc3d094a11e9da368d667f2a32b9441c9917b4ef78 |
File details
Details for the file easypaddleocr-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: easypaddleocr-0.1.3-py3-none-any.whl
- Upload date:
- Size: 212.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45b5443665fa85c5ea84c3e95e8f0c60afbb59355bc2f28d02e578aa2cdc1027 |
|
MD5 | 9ba7a8898db1ff5c0a886267d314d715 |
|
BLAKE2b-256 | b9c8390463335844ecdd2bcfc9a102df7ee6c0cbd708cda034c4961d2280f227 |