|
@@ -11,7 +11,7 @@ Global:
|
|
|
return_word_box: false
|
|
return_word_box: false
|
|
|
Det:
|
|
Det:
|
|
|
inference_num_threads: 6
|
|
inference_num_threads: 6
|
|
|
- model_path: models/ch_PP-OCRv4_det_infer.onnx
|
|
|
|
|
|
|
+ model_path: /usr/local/lib/python3.10/site-packages/rapidocr_openvino/models/ch_PP-OCRv4_det_infer.onnx
|
|
|
limit_side_len: 480
|
|
limit_side_len: 480
|
|
|
limit_type: max
|
|
limit_type: max
|
|
|
std: [ 0.5, 0.5, 0.5 ]
|
|
std: [ 0.5, 0.5, 0.5 ]
|
|
@@ -24,13 +24,13 @@ Det:
|
|
|
score_mode: fast
|
|
score_mode: fast
|
|
|
Cls:
|
|
Cls:
|
|
|
inference_num_threads: 6
|
|
inference_num_threads: 6
|
|
|
- model_path: models/ch_ppocr_mobile_v2.0_cls_infer.onnx
|
|
|
|
|
|
|
+ model_path: /usr/local/lib/python3.10/site-packages/rapidocr_openvino/models/ch_ppocr_mobile_v2.0_cls_infer.onnx
|
|
|
cls_image_shape: [3, 48, 192]
|
|
cls_image_shape: [3, 48, 192]
|
|
|
cls_batch_num: 8
|
|
cls_batch_num: 8
|
|
|
cls_thresh: 0.9
|
|
cls_thresh: 0.9
|
|
|
label_list: ['0', '180']
|
|
label_list: ['0', '180']
|
|
|
Rec:
|
|
Rec:
|
|
|
inference_num_threads: 6
|
|
inference_num_threads: 6
|
|
|
- model_path: models/ch_PP-OCRv4_rec_infer.onnx
|
|
|
|
|
|
|
+ model_path: /usr/local/lib/python3.10/site-packages/rapidocr_openvino/models/ch_PP-OCRv4_rec_infer.onnx
|
|
|
rec_img_shape: [3, 48, 320]
|
|
rec_img_shape: [3, 48, 320]
|
|
|
rec_batch_num: 6
|
|
rec_batch_num: 6
|