mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-12 14:00:53 +08:00
11 lines
428 B
Bash
11 lines
428 B
Bash
#! /bin/bash
|
|
|
|
# The img_path can be file path or folder path.
|
|
img_path="test_images/det_images/1.jpg"
|
|
|
|
python rapidOCR.py --det_model_path models/ch_ppocr_mobile_v2.0_det_infer.onnx \
|
|
--cls_model_path models/ch_ppocr_mobile_v2.0_cls_infer.onnx \
|
|
--rec_model_path models/ch_ppocr_mobile_v2.0_rec_infer.onnx \
|
|
--image_path ${img_path} \
|
|
--text_score 0.5
|