Spaces:
Sleeping
Sleeping
Update models/ocr_model/inference.yml
Browse files- models/ocr_model/inference.yml +12 -11
models/ocr_model/inference.yml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
| 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
|