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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easypaddleocr-0.3.tar.gz.
File metadata
- Download URL: easypaddleocr-0.3.tar.gz
- Upload date:
- Size: 291.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d97a177395abf7005205693b8c10df164c2d156b45da92968198feb755c42175
|
|
| MD5 |
31bc9d451bdf9adf3c58b77c83dba405
|
|
| BLAKE2b-256 |
2cf77e9403cc20c76ff9d9ba981eb63f8d96f9d08ab9fff5ff27611b97b7413e
|
File details
Details for the file easypaddleocr-0.3-py3-none-any.whl.
File metadata
- Download URL: easypaddleocr-0.3-py3-none-any.whl
- Upload date:
- Size: 308.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65bf879cbb24c0239d34da89850de847b4fad0aa34765eb07bfeea88c808b7be
|
|
| MD5 |
83591ef557a4ec0fb600a98693c73aef
|
|
| BLAKE2b-256 |
a34813b189927916853ec428cacf088c96a634dfbbf3815b8d5ff8c41773d1b7
|