Commit ba6efb32 authored by wuzekai's avatar wuzekai

测试检测识别功能

parent 98afcd22
Pipeline #581 canceled with stages
import subprocess
import os
# 定义图像路径
image_dir = "./test_img/69.jpg"
# 定义模型路径
det_model_v2 = "./inference_model/det_v2"
det_model_v4 = "./inference_model/det_v4"
rec_model_v2 = "./inference_model/rec_v2"
rec_model_v4 = "./inference_model/rec_v4"
cls_model = "./inference_model/ch_ppstructure_mobile_v2.0_SLANet_infer"
# 定义图像保存路径
save_dir_v2 = "./inference_results/v2"
save_dir_v4 = "./inference_results/v4"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment