mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 13:30:51 +08:00
9 lines
288 B
Bash
9 lines
288 B
Bash
#! /bin/bash
|
|
set -e errexit
|
|
|
|
root_path=$(cd $(dirname $0); pwd)
|
|
image_path=${root_path}"/test_images/det_images/1.jpg"
|
|
model_path=${root_path}"/models/ch_ppocr_server_v2.0_det_infer.onnx"
|
|
|
|
python text_detect.py --image_path ${image_path} \
|
|
--model_path ${model_path} |