s-emanuilov commited on
Commit
e1943cc
·
verified ·
1 Parent(s): 436f75f

Upload 6 files

Browse files
preprocessing/doc-orientation/PP-LCNet_x1_0_doc_ori.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5516822af9262711e197ff224a8a9d884f8046a6321b762e34f8cbf082c45ef
3
+ size 6784410
preprocessing/doc-orientation/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "PP-LCNet_x1_0_doc_ori",
3
+ "model_type": "preprocessing",
4
+ "preprocessing_type": "doc_orientation",
5
+ "framework": "PaddleOCR",
6
+ "version": "PP-OCRv5",
7
+ "description": "Document orientation classification (0°, 90°, 180°, 270°)",
8
+ "accuracy": "99.06%",
9
+ "use_case": "Corrects rotated scanned documents before OCR",
10
+ "original_format": "PaddlePaddle",
11
+ "converted_format": "ONNX",
12
+ "opset_version": 11,
13
+ "input_shape": "dynamic (batch_size, 3, height, width)",
14
+ "output_shape": "dynamic (batch_size, 4)",
15
+ "source": "https://github.com/PaddlePaddle/PaddleOCR",
16
+ "usage": {
17
+ "library": "onnxruntime",
18
+ "when_to_use": "Corrects rotated scanned documents before OCR",
19
+ "optional": true,
20
+ "improves": "OCR accuracy on rotated or distorted documents"
21
+ },
22
+ "num_classes": 4,
23
+ "categories": [
24
+ "0°",
25
+ "90°",
26
+ "180°",
27
+ "270°"
28
+ ]
29
+ }
preprocessing/doc-unwarping/UVDoc.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f5ec09f1c6c5947ae7cc8db93ed7dd6dd2d164d3d99a6a70387c98848cfb00c
3
+ size 31684112
preprocessing/doc-unwarping/config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "UVDoc",
3
+ "model_type": "preprocessing",
4
+ "preprocessing_type": "doc_unwarping",
5
+ "framework": "PaddleOCR",
6
+ "version": "PP-OCRv5",
7
+ "description": "Document image geometric distortion correction",
8
+ "accuracy": "CER: 0.179",
9
+ "use_case": "Fixes curved/warped documents (book pages, perspective distortion)",
10
+ "original_format": "PaddlePaddle",
11
+ "converted_format": "ONNX",
12
+ "opset_version": 11,
13
+ "input_shape": "dynamic (batch_size, 3, height, width)",
14
+ "output_shape": "dynamic (batch_size, 3, height, width)",
15
+ "source": "https://github.com/PaddlePaddle/PaddleOCR",
16
+ "usage": {
17
+ "library": "onnxruntime",
18
+ "when_to_use": "Fixes curved/warped documents (book pages, perspective distortion)",
19
+ "optional": true,
20
+ "improves": "OCR accuracy on rotated or distorted documents"
21
+ }
22
+ }
preprocessing/textline-orientation/PP-LCNet_x1_0_textline_ori.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34ec07c0bcd591da2ae6651924a1d8fb85f7ca60ac9a58ac417ecf12a5fc1e1a
3
+ size 6774157
preprocessing/textline-orientation/config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "PP-LCNet_x1_0_textline_ori",
3
+ "model_type": "preprocessing",
4
+ "preprocessing_type": "textline_orientation",
5
+ "framework": "PaddleOCR",
6
+ "version": "PP-OCRv5",
7
+ "description": "Text line orientation classification (0°, 180°)",
8
+ "accuracy": "98.85%",
9
+ "use_case": "Corrects upside-down text lines",
10
+ "original_format": "PaddlePaddle",
11
+ "converted_format": "ONNX",
12
+ "opset_version": 11,
13
+ "input_shape": "dynamic (batch_size, 3, height, width)",
14
+ "output_shape": "dynamic (batch_size, 2)",
15
+ "source": "https://github.com/PaddlePaddle/PaddleOCR",
16
+ "usage": {
17
+ "library": "onnxruntime",
18
+ "when_to_use": "Corrects upside-down text lines",
19
+ "optional": true,
20
+ "improves": "OCR accuracy on rotated or distorted documents"
21
+ },
22
+ "num_classes": 2,
23
+ "categories": [
24
+ "0°",
25
+ "180°"
26
+ ]
27
+ }