Commit a9934253 authored by wuzekai's avatar wuzekai

Update ocr.py

parent 871d79ab
Pipeline #567 canceled with stages
...@@ -5,4 +5,13 @@ import json ...@@ -5,4 +5,13 @@ import json
import uuid import uuid
import re import re
ocr = Blueprint("ocr", __name__) ocr = Blueprint("ocr", __name__)
\ No newline at end of file
# 目录配置
upload_dir = "./inference_pic"
output_dir = "./inference_json"
det_model_dir = "./inference_model/det_v4"
rec_model_dir = "./inference_model/rec_v4"
cls_model_dir = "./inference_model/ch_ppstructure_mobile_v2.0_SLANet_infer"
result_dir = "./inference_results/v4"
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