RapidOCR
Project description
rapidocr-openvino Package
1. Install package by pypi.
$ pip install rapidocr-openvino
2. Use.
import cv2
from rapidocr_openvino 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
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
Close
Hashes for rapidocr_openvino-1.1.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0569f03dae1e9d1e9db57c411f782893f2099982b9796006699af6d8bb2ae5e8 |
|
MD5 | 7f64a6e77fcde34853ac71ac8e9b285c |
|
BLAKE2b-256 | 1187206d8b5ba419ccc891af5fe63738c79fb1e1209ac7e86d2dbfb138d0e392 |