wzf19947 commited on
Commit
3d30b13
·
1 Parent(s): b2fb060

优化rec模型漏识别问题

Browse files
README.md CHANGED
@@ -79,33 +79,33 @@ Input image:
79
  root@ax650:~/PPOCR_v5# python3 infer_axmodel.py
80
  [INFO] Available providers: ['AxEngineExecutionProvider']
81
  [INFO] Using provider: AxEngineExecutionProvider
82
- [INFO] Chip type: ChipType.MC20E
83
  [INFO] VNPU type: VNPUType.DISABLED
84
- [INFO] Engine version: 2.7.2a
85
- [INFO] Model type: 0 (half core)
86
- [INFO] Compiler version: 4.1-patch1 da06dcf2
87
  [INFO] Using provider: AxEngineExecutionProvider
88
- [INFO] Model type: 0 (half core)
89
- [INFO] Compiler version: 4.1-patch1 da06dcf2
90
  [INFO] Using provider: AxEngineExecutionProvider
91
- [INFO] Model type: 0 (half core)
92
- [INFO] Compiler version: 4.1-patch1 da06dcf2
93
- [[[22.0, 32.0], [307.0, 32.0], [307.0, 77.0], [22.0, 77.0]], ('纯臻营养护发素', 0.9575538635253906)]
94
- [[[24.0, 80.0], [174.0, 80.0], [174.0, 105.0], [24.0, 105.0]], ('产品信息/参数', 0.9784890413284302)]
95
- [[[24.0, 110.0], [333.0, 110.0], [333.0, 135.0], [24.0, 135.0]], ('(45元/每公斤,10公斤起订', 0.8767529129981995)]
96
- [[[24.0, 140.0], [284.0, 142.0], [284.0, 167.0], [24.0, 165.0]], ('每瓶2元,100瓶起订)', 0.7741350531578064)]
97
- [[[23.0, 175.0], [301.0, 174.0], [302.0, 197.0], [24.0, 198.0]], ('品牌:代加工方式/OEMDM', 0.8872110247612)]
98
- [[[24.0, 207.0], [235.0, 207.0], [235.0, 228.0], [24.0, 228.0]], ('品名:纯臻营养护发素', 0.930849552154541)]
99
- [[[26.0, 238.0], [242.0, 238.0], [242.0, 259.0], [26.0, 259.0]], ('产品编号:YM-×-301', 0.8895746469497681)]
100
- [[[412.0, 233.0], [430.0, 233.0], [430.0, 304.0], [412.0, 304.0]], ('DMEM', 0.9372888207435608)]
101
- [[[24.0, 268.0], [181.0, 267.0], [181.0, 290.0], [25.0, 291.0]], ('【净含量:220ml', 0.7948297262191772)]
102
- [[[24.0, 301.0], [253.0, 301.0], [253.0, 322.0], [24.0, 322.0]], ('适用人群:适合所有肤质', 0.946412980556488)]
103
- [[[24.0, 331.0], [345.0, 332.0], [345.0, 354.0], [24.0, 353.0]], ('主要成分:鲸蜡硬脂醇、燕麦β-葡聚', 0.9448550939559937)]
104
- [[[26.0, 364.0], [283.0, 364.0], [283.0, 385.0], [26.0, 385.0]], ('糖、椰油酰胺丙菜碱、泛', 0.9831148386001587)]
105
- [[[367.0, 367.0], [476.0, 367.0], [476.0, 389.0], [367.0, 389.0]], ('(成品包材)', 0.6778985261917114)]
106
- [[[26.0, 394.0], [362.0, 394.0], [362.0, 416.0], [26.0, 416.0]], ('【主要功能:可紧致头发磷层,从而达到', 0.9124352931976318)]
107
- [[[26.0, 426.0], [373.0, 425.0], [373.0, 446.0], [26.0, 447.0]], ('即时持久改善头发光泽的效果,给干燥的头', 0.9655891060829163)]
108
- [[[25.0, 457.0], [137.0, 456.0], [137.0, 478.0], [26.0, 479.0]], ('发足够的滋养', 0.9937723278999329)]
109
 
110
  ```
111
 
 
79
  root@ax650:~/PPOCR_v5# python3 infer_axmodel.py
80
  [INFO] Available providers: ['AxEngineExecutionProvider']
81
  [INFO] Using provider: AxEngineExecutionProvider
82
+ [INFO] Chip type: ChipType.MC50
83
  [INFO] VNPU type: VNPUType.DISABLED
84
+ [INFO] Engine version: 2.12.0s
85
+ [INFO] Model type: 2 (triple core)
86
+ [INFO] Compiler version: 4.2 b98901c3
87
  [INFO] Using provider: AxEngineExecutionProvider
88
+ [INFO] Model type: 0 (single core)
89
+ [INFO] Compiler version: 4.2 b98901c3
90
  [INFO] Using provider: AxEngineExecutionProvider
91
+ [INFO] Model type: 2 (triple core)
92
+ [INFO] Compiler version: 4.2 b98901c3
93
+ [[[22.0, 32.0], [307.0, 32.0], [307.0, 77.0], [22.0, 77.0]], ('纯臻营养护发素', 0.9881175756454468)]
94
+ [[[24.0, 80.0], [174.0, 80.0], [174.0, 105.0], [24.0, 105.0]], ('产品信息/参数', 0.9941993951797485)]
95
+ [[[25.0, 110.0], [333.0, 110.0], [333.0, 135.0], [25.0, 135.0]], ('(45元/每公斤,100公斤起订', 0.9549185633659363)]
96
+ [[[24.0, 140.0], [283.0, 142.0], [283.0, 167.0], [24.0, 165.0]], ('每瓶22元,1000瓶起订', 0.9522098898887634)]
97
+ [[[23.0, 175.0], [302.0, 174.0], [302.0, 197.0], [23.0, 198.0]], ('品牌:代加工方式/OEMODM', 0.98729008436203)]
98
+ [[[24.0, 206.0], [235.0, 208.0], [235.0, 229.0], [24.0, 228.0]], ('品名:纯臻营养护发素', 0.9895920753479004)]
99
+ [[[26.0, 238.0], [242.0, 238.0], [242.0, 259.0], [26.0, 259.0]], ('产品编号:YM-X-3011', 0.9853904843330383)]
100
+ [[[412.0, 233.0], [430.0, 233.0], [430.0, 303.0], [412.0, 303.0]], ('ODMOEM', 0.8154547810554504)]
101
+ [[[24.0, 269.0], [181.0, 268.0], [181.0, 289.0], [25.0, 290.0]], ('【净含量:220ml', 0.9779437780380249)]
102
+ [[[24.0, 300.0], [253.0, 301.0], [253.0, 322.0], [24.0, 321.0]], ('适用人群:适合所有肤质', 0.9893492460250854)]
103
+ [[[24.0, 331.0], [345.0, 332.0], [345.0, 354.0], [24.0, 352.0]], ('主要成分:鲸蜡硬脂醇、燕麦β-葡聚', 0.9715114235877991)]
104
+ [[[26.0, 364.0], [283.0, 364.0], [283.0, 384.0], [26.0, 384.0]], ('糖、椰油酰胺丙基甜菜碱、泛', 0.9863923192024231)]
105
+ [[[367.0, 366.0], [476.0, 366.0], [476.0, 388.0], [367.0, 388.0]], ('(成品包材)', 0.8738409876823425)]
106
+ [[[25.0, 394.0], [362.0, 394.0], [362.0, 416.0], [25.0, 416.0]], ('【主要功能:可紧致头发磷层,从而达到', 0.9911136627197266)]
107
+ [[[27.0, 426.0], [373.0, 426.0], [373.0, 447.0], [27.0, 447.0]], ('即时持久改善头发光泽的效果,给干燥的头', 0.9935663342475891)]
108
+ [[[26.0, 457.0], [137.0, 457.0], [137.0, 478.0], [26.0, 478.0]], ('发足够的滋养', 0.9879047274589539)]
109
 
110
  ```
111
 
ax620e/rec_npu1.axmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b34b4f18ca08dd4fb6fa67fce7b7a71aa0f293b17f612aab64408206ed66bb5c
3
- size 11459369
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:631e0f8ec4aa8e7b70c78774bfd30eaf0bcd83e9eb23d004c762b0c69e84904c
3
+ size 10736070
ax620e/rec_npu2.axmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:267573d8e9128990a01e67e8694ef92abfb67614d26ac128e06609282931c0e4
3
- size 10334314
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecdbe51cea88b7d540e0c07975f74946257cc6129038816acc5b999c22a47e64
3
+ size 9875170
ax650/rec_npu1.axmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7241927012b891182a58af4a88b289ba06652d4e241acd97e8a765f181b3436b
3
- size 6486023
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a11ba815bdd14d2c04f66a2ce22ea109638149ba47342a14a9e5895447108169
3
+ size 6438908
ax650/rec_npu3.axmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b28bfab24d4198a096f41c4374080c48786825cc51a7ddcb90872c8927ee14d
3
- size 6793996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c035a8d49bb99bb8d63a8afedab5d8a7044dd56a581107ce8ce282842d42400
3
+ size 6757884
cls.json CHANGED
@@ -4,7 +4,7 @@
4
  "output_name": "cls.axmodel",
5
  "model_type": "ONNX",
6
  "target_hardware": "AX620E",
7
- "npu_mode": "NPU1",
8
  "onnx_opt": {
9
  "disable_onnx_optimization": false,
10
  "enable_onnxsim": true,
 
4
  "output_name": "cls.axmodel",
5
  "model_type": "ONNX",
6
  "target_hardware": "AX620E",
7
+ "npu_mode": "NPU2",
8
  "onnx_opt": {
9
  "disable_onnx_optimization": false,
10
  "enable_onnxsim": true,
det.json CHANGED
@@ -4,7 +4,7 @@
4
  "output_name": "det.axmodel",
5
  "model_type": "ONNX",
6
  "target_hardware": "AX620E",
7
- "npu_mode": "NPU1",
8
 
9
  "onnx_opt": {
10
  "disable_onnx_optimization": false,
 
4
  "output_name": "det.axmodel",
5
  "model_type": "ONNX",
6
  "target_hardware": "AX620E",
7
+ "npu_mode": "NPU2",
8
 
9
  "onnx_opt": {
10
  "disable_onnx_optimization": false,
rec.json CHANGED
@@ -4,11 +4,11 @@
4
  "output_name": "rec.axmodel",
5
  "model_type": "ONNX",
6
  "target_hardware": "AX620E",
7
- "npu_mode": "NPU1",
8
 
9
  "onnx_opt": {
10
  "disable_onnx_optimization": false,
11
- "enable_onnxsim": true,
12
  "model_check": true,
13
  "disable_transformation_check": false
14
  },
 
4
  "output_name": "rec.axmodel",
5
  "model_type": "ONNX",
6
  "target_hardware": "AX620E",
7
+ "npu_mode": "NPU2",
8
 
9
  "onnx_opt": {
10
  "disable_onnx_optimization": false,
11
+ "enable_onnxsim": false,
12
  "model_check": true,
13
  "disable_transformation_check": false
14
  },
res_ax.jpg CHANGED

Git LFS Details

  • SHA256: 71d905dc8efed2016f9e19581f65ef48da260f643f51f1da74dd3565affbaff4
  • Pointer size: 131 Bytes
  • Size of remote file: 120 kB

Git LFS Details

  • SHA256: 82125b835f8c13012835778f00855a330982c3f5a4330a505185e91699ed62c3
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB