Commit dd02f61b authored by wuzekai's avatar wuzekai

Update ocr.py

parent a9934253
Pipeline #568 canceled with stages
......@@ -15,3 +15,8 @@ rec_model_dir = "./inference_model/rec_v4"
cls_model_dir = "./inference_model/ch_ppstructure_mobile_v2.0_SLANet_infer"
result_dir = "./inference_results/v4"
# 创建目录
os.makedirs(upload_dir, exist_ok=True)
os.makedirs(output_dir, exist_ok=True)
os.makedirs(result_dir, exist_ok=True)
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