Files
rapidocr/python/ch_ppocr_server_v2_det/run.sh
T
2021-05-22 11:14:17 +08:00

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}