mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-07 03:35:24 +00:00
41 lines
850 B
YAML
41 lines
850 B
YAML
Cls:
|
|
cls_batch_num: 6
|
|
cls_image_shape:
|
|
- 3
|
|
- 48
|
|
- 192
|
|
cls_thresh: 0.9
|
|
label_list:
|
|
- '0'
|
|
- '180'
|
|
model_path: C:\Users\arkoh\projects\memos\memos\plugins\ocr\models\ch_ppocr_mobile_v2.0_cls_train.onnx
|
|
use_cuda: false
|
|
Det:
|
|
box_thresh: 0.3
|
|
limit_side_len: 1500
|
|
limit_type: min
|
|
max_candidates: 1000
|
|
model_path: C:\Users\arkoh\projects\memos\memos\plugins\ocr\models\ch_PP-OCRv4_det_infer.onnx
|
|
score_mode: fast
|
|
thresh: 0.3
|
|
unclip_ratio: 1.6
|
|
use_cuda: false
|
|
use_dilation: true
|
|
Global:
|
|
min_height: 30
|
|
print_verbose: false
|
|
text_score: 0.5
|
|
use_cls: true
|
|
use_det: true
|
|
use_rec: true
|
|
use_space_char: true
|
|
width_height_ratio: 40
|
|
Rec:
|
|
model_path: C:\Users\arkoh\projects\memos\memos\plugins\ocr\models\ch_PP-OCRv4_rec_infer.onnx
|
|
rec_batch_num: 6
|
|
rec_img_shape:
|
|
- 3
|
|
- 48
|
|
- 320
|
|
use_cuda: false
|