mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 21:40:52 +08:00
9 lines
312 B
Bash
9 lines
312 B
Bash
#! /bin/bash
|
|
set -e errexit
|
|
|
|
root_path=$(cd $(dirname $0); pwd)
|
|
image_path=${root_path}"/test_images/rec_images/2021-01-18_14-22-32.png"
|
|
model_path=${root_path}"/models/ch_ppocr_mobile_v2.0_rec_infer.onnx"
|
|
|
|
python text_recognize.py --image_path ${image_path} \
|
|
--model_path ${model_path} |