Skip to main content

rapidocr-onnxruntime Package

1. Install package by pypi.

$ pip install rapidocr-onnxruntime

2. Use.

import cv2
from rapidocr_onnxruntime import RapidOCR

text_sys = RapidOCR()

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

result, elapse_list = text_sys(img)
print(result)
print(elapse_list)

# result: [[dt_boxes], txt, score]
# 示例:[[左上, 右上, 右下, 左下], '小明', '0.99']

# elapse_list: [det_elapse, cls_elapse, rec_elapse]
# all_elapse = det_elapse + cls_elapse + rec_elapse

Metadata

Release files for rapidocr-onnxruntime 1.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for rapidocr-onnxruntime 1.1.20
File Interpreter ABI Platform Actions
rapidocr_onnxruntime-1.1.20-py3-none-any.whl Python 3 none any Details for rapidocr_onnxruntime-1.1.20-py3-none-any.whl

Release files / rapidocr_onnxruntime-1.1.20-py3-none-any.whl

Download URL rapidocr_onnxruntime-1.1.20-py3-none-any.whl
Size 12.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
93ffcca69a8bc8f5944cf0e14959bbaad684b25e8b84889bd104d6872322c703
BLAKE2b-256 checksum
How to use checksums
6649c4317c1a42ec6b88fb9871ca7559400656855db41216c2e54dd706223080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for rapidocr-onnxruntime 1.1.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.20 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page