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.3.tar.gz (291.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easypaddleocr-0.3-py3-none-any.whl (308.9 kB view details)

Uploaded Python 3

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

Hashes for easypaddleocr-0.3.tar.gz
Algorithm Hash digest
SHA256 d97a177395abf7005205693b8c10df164c2d156b45da92968198feb755c42175
MD5 31bc9d451bdf9adf3c58b77c83dba405
BLAKE2b-256 2cf77e9403cc20c76ff9d9ba981eb63f8d96f9d08ab9fff5ff27611b97b7413e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypaddleocr-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65bf879cbb24c0239d34da89850de847b4fad0aa34765eb07bfeea88c808b7be
MD5 83591ef557a4ec0fb600a98693c73aef
BLAKE2b-256 a34813b189927916853ec428cacf088c96a634dfbbf3815b8d5ff8c41773d1b7

See more details on using hashes here.

Supported by

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