Skip to main content

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

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 details)

Uploaded Source

Built Distribution

easypaddleocr-0.1.5-py3-none-any.whl (209.5 kB view details)

Uploaded Python 3

File details

Details for the file easypaddleocr-0.1.5.tar.gz.

File metadata

  • Download URL: easypaddleocr-0.1.5.tar.gz
  • Upload date:
  • Size: 165.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for easypaddleocr-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e73816bc8c2d03eb3507c54d07478343e41d57009dc82a0b7fb897bcda72d442
MD5 900916abf8c77e7508a9a7025e159897
BLAKE2b-256 12e26e0578eca6eb218c429e8cfd6e524b6a8997e3a85e8cfbfca63399f6e330

See more details on using hashes here.

File details

Details for the file easypaddleocr-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for easypaddleocr-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb7051c9fd39446423cbba9f223d7b9432397a91d9e4fb2b284ba8b58ff91b1
MD5 4226dc302d78e86b6eecf5af25660b88
BLAKE2b-256 a409f1d30f7619044e9065034a220a92c1af5fcd9d0ecc05ca426b2887d83a32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page