Spaces:
Paused
Paused
Commit
·
5494efc
0
Parent(s):
Clean deployment for HF Spaces
Browse files
__pycache__/api.cpython-310.pyc
ADDED
|
Binary file (7.29 kB). View file
|
|
|
__pycache__/pipeline.cpython-310.pyc
ADDED
|
Binary file (12.8 kB). View file
|
|
|
pipeline_outputs/docs_pipeline_result.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pdf": "docs.pdf",
|
| 3 |
+
"pdf_path": "documents/docs.pdf",
|
| 4 |
+
"summary": {
|
| 5 |
+
"total_pages": 3,
|
| 6 |
+
"total_qr_codes": 0,
|
| 7 |
+
"total_signatures": 1,
|
| 8 |
+
"total_stamps": 2,
|
| 9 |
+
"total_detections": 3
|
| 10 |
+
},
|
| 11 |
+
"pages": [
|
| 12 |
+
{
|
| 13 |
+
"image": "docs_page_1.jpg",
|
| 14 |
+
"image_dimensions": {
|
| 15 |
+
"width": 3306,
|
| 16 |
+
"height": 4678
|
| 17 |
+
},
|
| 18 |
+
"qr_codes": [],
|
| 19 |
+
"signatures": [
|
| 20 |
+
{
|
| 21 |
+
"id": 1,
|
| 22 |
+
"confidence": 0.5241817831993103,
|
| 23 |
+
"bbox": {
|
| 24 |
+
"x1": 1187.189453125,
|
| 25 |
+
"y1": 2745.45556640625,
|
| 26 |
+
"x2": 1849.0565185546875,
|
| 27 |
+
"y2": 3305.53076171875,
|
| 28 |
+
"width": 661.8670654296875,
|
| 29 |
+
"height": 560.0751953125
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
],
|
| 33 |
+
"stamps": [
|
| 34 |
+
{
|
| 35 |
+
"confidence": 0.7363,
|
| 36 |
+
"bbox": {
|
| 37 |
+
"x1": 1520,
|
| 38 |
+
"y1": 2700,
|
| 39 |
+
"x2": 2166,
|
| 40 |
+
"y2": 3358,
|
| 41 |
+
"width": 646,
|
| 42 |
+
"height": 658
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
],
|
| 46 |
+
"summary": {
|
| 47 |
+
"qr_codes": 0,
|
| 48 |
+
"signatures": 1,
|
| 49 |
+
"stamps": 1,
|
| 50 |
+
"total": 2
|
| 51 |
+
},
|
| 52 |
+
"page_number": 1
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"image": "docs_page_2.jpg",
|
| 56 |
+
"image_dimensions": {
|
| 57 |
+
"width": 3306,
|
| 58 |
+
"height": 4678
|
| 59 |
+
},
|
| 60 |
+
"qr_codes": [],
|
| 61 |
+
"signatures": [],
|
| 62 |
+
"stamps": [],
|
| 63 |
+
"summary": {
|
| 64 |
+
"qr_codes": 0,
|
| 65 |
+
"signatures": 0,
|
| 66 |
+
"stamps": 0,
|
| 67 |
+
"total": 0
|
| 68 |
+
},
|
| 69 |
+
"page_number": 2
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"image": "docs_page_3.jpg",
|
| 73 |
+
"image_dimensions": {
|
| 74 |
+
"width": 3306,
|
| 75 |
+
"height": 4678
|
| 76 |
+
},
|
| 77 |
+
"qr_codes": [],
|
| 78 |
+
"signatures": [],
|
| 79 |
+
"stamps": [
|
| 80 |
+
{
|
| 81 |
+
"confidence": 0.7546,
|
| 82 |
+
"bbox": {
|
| 83 |
+
"x1": 1889,
|
| 84 |
+
"y1": 3896,
|
| 85 |
+
"x2": 2531,
|
| 86 |
+
"y2": 4540,
|
| 87 |
+
"width": 642,
|
| 88 |
+
"height": 644
|
| 89 |
+
}
|
| 90 |
+
}
|
| 91 |
+
],
|
| 92 |
+
"summary": {
|
| 93 |
+
"qr_codes": 0,
|
| 94 |
+
"signatures": 0,
|
| 95 |
+
"stamps": 1,
|
| 96 |
+
"total": 1
|
| 97 |
+
},
|
| 98 |
+
"page_number": 3
|
| 99 |
+
}
|
| 100 |
+
]
|
| 101 |
+
}
|
qr/__pycache__/qr_extraction.cpython-310.pyc
ADDED
|
Binary file (7.85 kB). View file
|
|
|
signature/__pycache__/inference.cpython-310.pyc
ADDED
|
Binary file (5.82 kB). View file
|
|
|
stamp_detector/__pycache__/detect.cpython-310.pyc
ADDED
|
Binary file (6.56 kB). View file
|
|
|