File size: 2,823 Bytes
2d25133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
  "profiles": {
    "fast": "ft-tiny",
    "balanced": "ft-small",
    "accurate": "ft-medium"
  },
  "models": [
    {
      "name": "ft-small",
      "task": "rec",
      "path": "model/finetuned/small_rec.onnx",
      "charset": "model/finetuned/small_rec.json"
    },
    {
      "name": "ft-tiny",
      "task": "rec",
      "path": "model/finetuned/tiny_rec.onnx",
      "charset": "model/finetuned/tiny_rec.json"
    },
    {
      "name": "ft-medium",
      "task": "rec",
      "path": "model/finetuned/medium_rec.onnx",
      "charset": "model/finetuned/medium_rec.json"
    },
    {
      "name": "stock-common",
      "task": "rec",
      "path": "model/stock_common.onnx",
      "charset": "model/stock_common.json"
    },
    {
      "name": "stock-old",
      "task": "rec",
      "path": "model/stock_old.onnx",
      "charset": "model/stock_old.json"
    },
    {
      "name": "stock-det",
      "task": "det",
      "path": "model/stock_det.onnx",
      "det": { "type": "yolo", "nms_thr": 0.45, "score_thr": 0.1 }
    },
    {
      "name": "ppocrv6-tiny-rec",
      "task": "rec",
      "path": "model/ppocrv6/tiny_rec.onnx",
      "charset": "model/ppocrv6/tiny_rec.json"
    },
    {
      "name": "ppocrv6-small-rec",
      "task": "rec",
      "path": "model/ppocrv6/small_rec.onnx",
      "charset": "model/ppocrv6/small_rec.json"
    },
    {
      "name": "ppocrv6-medium-rec",
      "task": "rec",
      "path": "model/ppocrv6/medium_rec.onnx",
      "charset": "model/ppocrv6/medium_rec.json"
    },
    {
      "name": "ppocrv6-tiny-det",
      "task": "det",
      "path": "model/ppocrv6/tiny_det.onnx",
      "det": { "type": "db", "thresh": 0.2, "box_thresh": 0.4, "unclip_ratio": 1.4, "max_candidates": 3000, "nms_thr": 0.3, "score_thr": 0.1 }
    },
    {
      "name": "ppocrv6-small-det",
      "task": "det",
      "path": "model/ppocrv6/small_det.onnx",
      "det": { "type": "db", "thresh": 0.2, "box_thresh": 0.4, "unclip_ratio": 1.4, "max_candidates": 3000, "nms_thr": 0.3, "score_thr": 0.1 }
    },
    {
      "name": "ppocrv6-medium-det",
      "task": "det",
      "path": "model/ppocrv6/medium_det.onnx",
      "det": { "type": "db", "thresh": 0.2, "box_thresh": 0.4, "unclip_ratio": 1.4, "max_candidates": 3000, "nms_thr": 0.3, "score_thr": 0.1 }
    },
    {
      "name": "ft-small-det",
      "task": "det",
      "path": "model/finetuned/small_det.onnx",
      "det": { "type": "db", "thresh": 0.2, "box_thresh": 0.4, "unclip_ratio": 1.4, "max_candidates": 3000, "nms_thr": 0.3, "score_thr": 0.1 }
    },
    {
      "name": "ft-medium-det",
      "task": "det",
      "path": "model/finetuned/medium_det.onnx",
      "det": { "type": "db", "thresh": 0.2, "box_thresh": 0.4, "unclip_ratio": 1.4, "max_candidates": 3000, "nms_thr": 0.3, "score_thr": 0.1 }
    }
  ]
}