APIMONSTER commited on
Commit
4edb0a2
·
verified ·
1 Parent(s): c557d41

Update models/ocr_model/inference.yml

Browse files
Files changed (1) hide show
  1. models/ocr_model/inference.yml +12 -11
models/ocr_model/inference.yml CHANGED
@@ -1,11 +1,12 @@
1
- # inference.yml
2
- model_type: rec
3
- algorithm: CRNN
4
- pre_process:
5
- name: RecResizeImg
6
- image_shape: [3, 32, 128]
7
- post_process:
8
- name: CTCLabelDecode
9
- params:
10
- character_dict_path: ppocr/utils/dict/ppocr_keys_v1.txt
11
- use_space_char: true
 
 
1
+ Global:
2
+ use_space_char: true
3
+ Model:
4
+ name: CRNN
5
+ PreProcess:
6
+ - name: RecResizeImg
7
+ image_shape: [3, 32, 128]
8
+ PostProcess:
9
+ - name: CTCLabelDecode
10
+ params:
11
+ character_dict_path: ppocr/utils/dict/ppocr_keys_v1.txt
12
+ use_space_char: true