识别基报数据
This commit is contained in:
parent
94eca0ebeb
commit
7643cf2dae
3 changed files with 86 additions and 77 deletions
40
rapid_ocr.yml
Normal file
40
rapid_ocr.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
Global:
|
||||
text_score: 0.5
|
||||
use_angle_cls: false
|
||||
use_text_det: true
|
||||
print_verbose: false
|
||||
min_height: 30
|
||||
width_height_ratio: 8
|
||||
|
||||
Det:
|
||||
use_cuda: false
|
||||
|
||||
model_path: models/ch_PP-OCRv3_det_infer.onnx
|
||||
|
||||
limit_side_len: 736
|
||||
limit_type: min
|
||||
|
||||
thresh: 0.3
|
||||
box_thresh: 0.5
|
||||
max_candidates: 1000
|
||||
unclip_ratio: 1.6
|
||||
use_dilation: false
|
||||
score_mode: fast
|
||||
|
||||
Cls:
|
||||
use_cuda: false
|
||||
|
||||
model_path: models/ch_ppocr_mobile_v2.0_cls_infer.onnx
|
||||
|
||||
cls_image_shape: [3, 48, 192]
|
||||
cls_batch_num: 6
|
||||
cls_thresh: 0.9
|
||||
label_list: ['0', '180']
|
||||
|
||||
Rec:
|
||||
use_cuda: false
|
||||
|
||||
model_path: models/ch_PP-OCRv3_rec_infer.onnx
|
||||
|
||||
rec_img_shape: [3, 48, 320]
|
||||
rec_batch_num: 6
|
Loading…
Add table
Add a link
Reference in a new issue