Skip to main content

RapidOCR

Project description

rapidocr-onnxruntime Package

Install package by pypi

pip install "rapidocr-onnxruntime"

Install the models and config yaml.

wget https://github.com/RapidAI/RapidOCR/releases/download/v2.0.0/required_for_whl_v1.0.0.zip

# or by gitee
# wget https://gitee.com/RapidAI/RapidOCR/attach_files/1122519/download/required_for_whl_v1.0.0.zip

unzip required_for_whl_v1.0.0.zip
cd required_for_whl_v1.0.0

Use by python script

import cv2
from rapidocr_onnxruntime import TextSystem

text_sys = TextSystem('config.yaml')

img = cv2.imread('test_images/ch_en_num.jpg')

dt_boxes, rec_res = text_sys(img)
print(rec_res)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

rapidocr_onnxruntime-0.0.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file rapidocr_onnxruntime-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rapidocr_onnxruntime-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0de4e358ffa1289bd9c4a58d504c518f8c6543c36983c112293d1be86fe168b
MD5 8d385af11c84878b5e34a3d20d029950
BLAKE2b-256 02ffe85eeab8a47b684b9ec1a86ff0593db52d9b86e53ff6b1c14fa811ac307b

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