Desperado-JT
commited on
Upload 4 files
Browse files- ch_PP-OCRv4_det_infer.onnx +3 -0
- ch_PP-OCRv4_rec_infer.onnx +3 -0
- ch_ppocr_mobile_v2.0_cls_infer.onnx +3 -0
- config.yaml +53 -0
ch_PP-OCRv4_det_infer.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2a7720d45a54257208b1e13e36a8479894cb74155a5efe29462512d42f49da9
|
3 |
+
size 4745517
|
ch_PP-OCRv4_rec_infer.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48fc40f24f6d2a207a2b1091d3437eb3cc3eb6b676dc3ef9c37384005483683b
|
3 |
+
size 10857958
|
ch_ppocr_mobile_v2.0_cls_infer.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e47acedf663230f8863ff1ab0e64dd2d82b838fceb5957146dab185a89d6215c
|
3 |
+
size 585532
|
config.yaml
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Global:
|
2 |
+
text_score: 0.5
|
3 |
+
use_det: true
|
4 |
+
use_cls: true
|
5 |
+
use_rec: true
|
6 |
+
print_verbose: false
|
7 |
+
min_height: 30
|
8 |
+
width_height_ratio: 8
|
9 |
+
|
10 |
+
intra_op_num_threads: &intra_nums -1
|
11 |
+
inter_op_num_threads: &inter_nums -1
|
12 |
+
|
13 |
+
Det:
|
14 |
+
intra_op_num_threads: *intra_nums
|
15 |
+
inter_op_num_threads: *inter_nums
|
16 |
+
|
17 |
+
use_cuda: false
|
18 |
+
|
19 |
+
model_path: ch_PP-OCRv4_det_infer.onnx
|
20 |
+
|
21 |
+
limit_side_len: 736
|
22 |
+
limit_type: min
|
23 |
+
|
24 |
+
thresh: 0.3
|
25 |
+
box_thresh: 0.5
|
26 |
+
max_candidates: 1000
|
27 |
+
unclip_ratio: 1.6
|
28 |
+
use_dilation: true
|
29 |
+
score_mode: fast
|
30 |
+
|
31 |
+
Cls:
|
32 |
+
intra_op_num_threads: *intra_nums
|
33 |
+
inter_op_num_threads: *inter_nums
|
34 |
+
|
35 |
+
use_cuda: false
|
36 |
+
|
37 |
+
model_path: ch_ppocr_mobile_v2.0_cls_infer.onnx
|
38 |
+
|
39 |
+
cls_image_shape: [3, 48, 192]
|
40 |
+
cls_batch_num: 6
|
41 |
+
cls_thresh: 0.9
|
42 |
+
label_list: ['0', '180']
|
43 |
+
|
44 |
+
Rec:
|
45 |
+
intra_op_num_threads: *intra_nums
|
46 |
+
inter_op_num_threads: *inter_nums
|
47 |
+
|
48 |
+
use_cuda: false
|
49 |
+
|
50 |
+
model_path: ch_PP-OCRv4_rec_infer.onnx
|
51 |
+
|
52 |
+
rec_img_shape: [3, 48, 320]
|
53 |
+
rec_batch_num: 6
|