Show real input/detection examples and document types tested
Browse filesAdd four side-by-side input and detection examples: clean printed Bangla, aged print, handwriting, and a manually selected table crop. Include uncorrected OCR text and run metadata from the published compiled runtime and weights.
Document current and historical test coverage separately, with explicit limits for table localization, repetition stopping, PDF routing tests, and the earlier VCA-based app. Update the release inventory and integrity manifests.
Validation: all four fresh GPU inference calls completed without error-status blocks; 32/25/13 text regions and 10 table cells. All eight images, input hashes, and 13 README asset links verified. Docker validation status is unchanged.
- .gitattributes +5 -0
- MANIFEST.json +73 -7
- README.md +79 -0
- RELEASE_FILES.md +4 -2
- SHA256SUMS +17 -4
- VALIDATION.md +21 -0
- examples/handwriting-detected.png +3 -0
- examples/handwriting-input.png +3 -0
- examples/handwriting-text.txt +13 -0
- examples/old-print-detected.png +3 -0
- examples/old-print-input.jpg +0 -0
- examples/old-print-text.txt +25 -0
- examples/printed-page-detected.png +3 -0
- examples/printed-page-input.jpg +3 -0
- examples/printed-page-text.txt +32 -0
- examples/results.json +106 -0
- examples/table-crop-detected.png +0 -0
- examples/table-crop-input.png +0 -0
- examples/table-crop-text.txt +8 -0
.gitattributes
CHANGED
|
@@ -5,3 +5,8 @@
|
|
| 5 |
deploy/models/siglip_qwen/decoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 6 |
deploy/models/siglip_qwen/vision/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 7 |
deploy/models/siglip_qwen/vision/tokenizer.model filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
deploy/models/siglip_qwen/decoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 6 |
deploy/models/siglip_qwen/vision/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 7 |
deploy/models/siglip_qwen/vision/tokenizer.model filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
examples/handwriting-detected.png filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
examples/handwriting-input.png filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
examples/old-print-detected.png filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
examples/printed-page-detected.png filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
examples/printed-page-input.jpg filter=lfs diff=lfs merge=lfs -text
|
MANIFEST.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
| 12 |
"compiled_gpu_runtime": "passed",
|
| 13 |
"gpu_container": "not tested",
|
| 14 |
"automatic_downloads": "all selected SHA256 checks passed",
|
| 15 |
-
"automatic_download_cpu_container": "unvalidated: image assembled, Docker unpack failed due to host disk space"
|
|
|
|
| 16 |
},
|
| 17 |
"files": [
|
| 18 |
{
|
|
@@ -47,13 +48,13 @@
|
|
| 47 |
},
|
| 48 |
{
|
| 49 |
"path": "README.md",
|
| 50 |
-
"size_bytes":
|
| 51 |
-
"sha256": "
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"path": "RELEASE_FILES.md",
|
| 55 |
-
"size_bytes":
|
| 56 |
-
"sha256": "
|
| 57 |
},
|
| 58 |
{
|
| 59 |
"path": "THIRD_PARTY_NOTICES.md",
|
|
@@ -67,8 +68,8 @@
|
|
| 67 |
},
|
| 68 |
{
|
| 69 |
"path": "VALIDATION.md",
|
| 70 |
-
"size_bytes":
|
| 71 |
-
"sha256": "
|
| 72 |
},
|
| 73 |
{
|
| 74 |
"path": "checkpoints/initial_v1/table/best/config.json",
|
|
@@ -210,6 +211,71 @@
|
|
| 210 |
"size_bytes": 4137,
|
| 211 |
"sha256": "ff91da63ac07053045b7cdce1bba9192b484ea51c74fe53e72fd488c5d1aeacf"
|
| 212 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
{
|
| 214 |
"path": "licenses/Apache-2.0.txt",
|
| 215 |
"size_bytes": 11358,
|
|
|
|
| 12 |
"compiled_gpu_runtime": "passed",
|
| 13 |
"gpu_container": "not tested",
|
| 14 |
"automatic_downloads": "all selected SHA256 checks passed",
|
| 15 |
+
"automatic_download_cpu_container": "unvalidated: image assembled, Docker unpack failed due to host disk space",
|
| 16 |
+
"readme_examples": "4 compiled-runtime GPU calls passed; 32/25/13 text regions and 10 table cells; no corrected boxes or text"
|
| 17 |
},
|
| 18 |
"files": [
|
| 19 |
{
|
|
|
|
| 48 |
},
|
| 49 |
{
|
| 50 |
"path": "README.md",
|
| 51 |
+
"size_bytes": 15447,
|
| 52 |
+
"sha256": "d0f4ce57c011c21f7f5d078a03b79d44de38d625606fad55b9e7812d20b45918"
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"path": "RELEASE_FILES.md",
|
| 56 |
+
"size_bytes": 1798,
|
| 57 |
+
"sha256": "23fbbe18d8c4dd7336fb3a5534178641a974bb1b42962416c715ff48b5a7599d"
|
| 58 |
},
|
| 59 |
{
|
| 60 |
"path": "THIRD_PARTY_NOTICES.md",
|
|
|
|
| 68 |
},
|
| 69 |
{
|
| 70 |
"path": "VALIDATION.md",
|
| 71 |
+
"size_bytes": 4534,
|
| 72 |
+
"sha256": "082d61029d9aa1528c4ef90d818892e28ef2887aa591e7ad6871589946ea390e"
|
| 73 |
},
|
| 74 |
{
|
| 75 |
"path": "checkpoints/initial_v1/table/best/config.json",
|
|
|
|
| 211 |
"size_bytes": 4137,
|
| 212 |
"sha256": "ff91da63ac07053045b7cdce1bba9192b484ea51c74fe53e72fd488c5d1aeacf"
|
| 213 |
},
|
| 214 |
+
{
|
| 215 |
+
"path": "examples/handwriting-detected.png",
|
| 216 |
+
"size_bytes": 4809303,
|
| 217 |
+
"sha256": "b5a4c3dadc26a4a5f124efa2c6fad0efa196f256ac9c0319e34b3ea54dc48ea0"
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"path": "examples/handwriting-input.png",
|
| 221 |
+
"size_bytes": 4904475,
|
| 222 |
+
"sha256": "652e3c403950c497cbbe5b998205cbf651823b36c9b05ec5103bf7f647572d0a"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"path": "examples/handwriting-text.txt",
|
| 226 |
+
"size_bytes": 1454,
|
| 227 |
+
"sha256": "f445e7ddb8fa4845eae8d61125c8d6e0c1eb8b73a8be60e637297843bceecb80"
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"path": "examples/old-print-detected.png",
|
| 231 |
+
"size_bytes": 601239,
|
| 232 |
+
"sha256": "2cb970d1c1bbedb763e85374669bebba8e4e4dc668e757afd0821fcc4c52bc78"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"path": "examples/old-print-input.jpg",
|
| 236 |
+
"size_bytes": 81879,
|
| 237 |
+
"sha256": "cc872e04854b43786ab1c49e1bc37b3ec8bbb22e459ea7ccbe6162321377adbe"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"path": "examples/old-print-text.txt",
|
| 241 |
+
"size_bytes": 2983,
|
| 242 |
+
"sha256": "e946cd2e3019ea9209be5812353f3cae2c36d584c1d965e3ddc9defa8dffaf29"
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"path": "examples/printed-page-detected.png",
|
| 246 |
+
"size_bytes": 852691,
|
| 247 |
+
"sha256": "46df2dd129f4de4d96877134e40c9fbb7f8866046cee27ee15810684e0929182"
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"path": "examples/printed-page-input.jpg",
|
| 251 |
+
"size_bytes": 178692,
|
| 252 |
+
"sha256": "bca75dedd472f1d65d47eea8d6e1f812e1966d90f3f160c1d6ae6a4e2e156abd"
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"path": "examples/printed-page-text.txt",
|
| 256 |
+
"size_bytes": 6196,
|
| 257 |
+
"sha256": "8bc34ce4b298bc2c29b0fac5c3fc38b319bc7eed19db960055463cdfa1cf53f3"
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"path": "examples/results.json",
|
| 261 |
+
"size_bytes": 3568,
|
| 262 |
+
"sha256": "6431474378f8666be5488f7e5bc370979204a0cc9c541d1f9927d02ecf794315"
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"path": "examples/table-crop-detected.png",
|
| 266 |
+
"size_bytes": 83265,
|
| 267 |
+
"sha256": "0b0dda414bcd5f821efdbd519ff2637cb9ad5e9320bad392fe7cb85474be5cf3"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"path": "examples/table-crop-input.png",
|
| 271 |
+
"size_bytes": 84790,
|
| 272 |
+
"sha256": "3811b1bee42d3625197037fb1319a6c539570353a4c4d8b2a558d5892206203f"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"path": "examples/table-crop-text.txt",
|
| 276 |
+
"size_bytes": 238,
|
| 277 |
+
"sha256": "46f1945bef0f90172e74123350a08044df9d32b84d6c05e97e8d04ec108ad902"
|
| 278 |
+
},
|
| 279 |
{
|
| 280 |
"path": "licenses/Apache-2.0.txt",
|
| 281 |
"size_bytes": 11358,
|
README.md
CHANGED
|
@@ -69,6 +69,85 @@ The shared pipeline handles crop preprocessing, layout-aware reading order,
|
|
| 69 |
table reconstruction and text/HTML outputs. All weights and configuration assets
|
| 70 |
are included. The API accepts images and PDFs and loads models locally.
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
## Download and run
|
| 73 |
|
| 74 |
Download just **`Dockerfile.gpu` + `compose.gpu.yml`**, or **`Dockerfile.cpu` +
|
|
|
|
| 69 |
table reconstruction and text/HTML outputs. All weights and configuration assets
|
| 70 |
are included. The API accepts images and PDFs and loads models locally.
|
| 71 |
|
| 72 |
+
## See the pipeline on real documents
|
| 73 |
+
|
| 74 |
+
The left image is the input; the right image is the **actual detection overlay**
|
| 75 |
+
returned by the published compiled runtime and weights on 25 November 2026.
|
| 76 |
+
**Blue boxes** mark text regions, **red numbers** show output reading order, and
|
| 77 |
+
**orange boxes** mark the recovered table region and cells. These are model
|
| 78 |
+
outputs, with no manually corrected boxes or transcriptions.
|
| 79 |
+
|
| 80 |
+
### Printed Bangla page
|
| 81 |
+
|
| 82 |
+
| Input image | Detected text regions and reading order |
|
| 83 |
+
| --- | --- |
|
| 84 |
+
|  |  |
|
| 85 |
+
|
| 86 |
+
The pipeline returned **32 text regions**. Detection does not imply perfect OCR:
|
| 87 |
+
repetition stopping was triggered for two blocks in this run.
|
| 88 |
+
[Read the uncorrected OCR text](examples/printed-page-text.txt).
|
| 89 |
+
|
| 90 |
+
### Older, low-resolution print
|
| 91 |
+
|
| 92 |
+
| Input image | Detected text regions and reading order |
|
| 93 |
+
| --- | --- |
|
| 94 |
+
|  |  |
|
| 95 |
+
|
| 96 |
+
The pipeline returned **25 text regions**, including short poem lines and dense
|
| 97 |
+
prose. Small or degraded glyphs remain difficult to recognize.
|
| 98 |
+
[Read the uncorrected OCR text](examples/old-print-text.txt).
|
| 99 |
+
|
| 100 |
+
### Handwritten Bangla page
|
| 101 |
+
|
| 102 |
+
| Input image | Detected text regions and reading order |
|
| 103 |
+
| --- | --- |
|
| 104 |
+
|  |  |
|
| 105 |
+
|
| 106 |
+
The pipeline returned **13 text regions** and **554 text characters**. Some boxes
|
| 107 |
+
overlap; the example demonstrates execution and segmentation, not perfect layout
|
| 108 |
+
or transcription accuracy. [Read the uncorrected OCR text](examples/handwriting-text.txt).
|
| 109 |
+
|
| 110 |
+
### Table structure and cell text
|
| 111 |
+
|
| 112 |
+
| Input table crop | Detected table cells and remaining text regions |
|
| 113 |
+
| --- | --- |
|
| 114 |
+
|  |  |
|
| 115 |
+
|
| 116 |
+
This is a **manually selected table crop**, processed in `table` mode. The model
|
| 117 |
+
recovered **10 cells** and recognized cell text. It does not demonstrate automatic
|
| 118 |
+
table localization on a full page. Some fallback text is duplicated in the raw
|
| 119 |
+
result, so table reconstruction still needs review.
|
| 120 |
+
[Read the uncorrected OCR text](examples/table-crop-text.txt).
|
| 121 |
+
|
| 122 |
+
[Example run details](examples/results.json) include input hashes, the published
|
| 123 |
+
checkpoint hash, settings, counts, timings and warnings. These runs used the
|
| 124 |
+
compiled runtime locally on an RTX 5060 Ti; they do not change the Docker
|
| 125 |
+
validation status described below. The table crop comes from BaDLAD example
|
| 126 |
+
16259; the other inputs are existing project test fixtures. Original source
|
| 127 |
+
material retains its respective authorship; these examples are shared to
|
| 128 |
+
illustrate inference, not as a new training dataset.
|
| 129 |
+
|
| 130 |
+
## Document types tested
|
| 131 |
+
|
| 132 |
+
| Document / input type | Test coverage and observed limits |
|
| 133 |
+
| --- | --- |
|
| 134 |
+
| Clean printed Bangla pages | Current published pipeline; input and 32-region output shown above. OCR errors and repetition stopping remain possible. |
|
| 135 |
+
| Aged or low-resolution printed pages | Current published pipeline; input and 25-region output shown above. Small glyphs remain difficult. |
|
| 136 |
+
| Handwritten Bangla prose | Current published pipeline; input and 13-region output shown above, plus handwritten word/line evaluation in the 448-crop comparison. |
|
| 137 |
+
| Table and catalogue crops | Current pipeline recovered 1, 10 and 4 cells in three earlier selected crops; the refreshed 10-cell example is shown above. This is not a table-accuracy benchmark. |
|
| 138 |
+
| Forms mixing print, handwriting, stamps and signatures | Earlier seven-image web-app test; text was processed, but a semantic table grid was not detected. |
|
| 139 |
+
| Dense or stylized handwriting | Earlier seven-image test; some lines merged or were missed, with substantial recognition errors. |
|
| 140 |
+
| Tilted diary photos with mixed Bangla/English and occlusion | Earlier seven-image test; detection ran, while dates, English text and handwriting remained inaccurate. |
|
| 141 |
+
| Decorative calligraphy | Earlier seven-image test; text regions were detected, but the recognized words were wrong. |
|
| 142 |
+
| Image uploads and multi-page PDFs | Upload, page rendering, authentication and persistence have automated coverage. PDF routing tests use a stub evaluator and do not establish real-document OCR accuracy. |
|
| 143 |
+
|
| 144 |
+
The four rows marked **earlier seven-image test** refer to the previous VCA-based
|
| 145 |
+
web app on 9 November 2026. They document types exercised and known failure cases;
|
| 146 |
+
they are not new SigLIP2/Qwen accuracy claims. The images above were rerun with the
|
| 147 |
+
current published recognizer. Outputs available through the current API include
|
| 148 |
+
text, detected-region/cell JSON, reading-order HTML and original-layout HTML;
|
| 149 |
+
see [the output guide](USER_GUIDE.md#6-read-and-save-layout-outputs).
|
| 150 |
+
|
| 151 |
## Download and run
|
| 152 |
|
| 153 |
Download just **`Dockerfile.gpu` + `compose.gpu.yml`**, or **`Dockerfile.cpu` +
|
RELEASE_FILES.md
CHANGED
|
@@ -11,12 +11,14 @@ Docker downloads the following four model components automatically during the bu
|
|
| 11 |
| `checkpoints/initial_v1/table/best/` | Table structure weights/configuration |
|
| 12 |
| `runtime/docr-runtime-cp312-linux-x86_64.tar.gz` | 48 compiled backend/API modules; CPython 3.12, Linux x86-64 |
|
| 13 |
| `Dockerfile`, `Dockerfile.cpu`, `Dockerfile.gpu`, `compose.gpu.yml`, `compose.cpu.yml`, `requirements-runtime.txt` | Runtime installation and service definitions |
|
|
|
|
| 14 |
| `README.md`, `USER_GUIDE.md`, `VALIDATION.md`, `evaluation.json` | Architecture, usage, validation and aggregate accuracy |
|
| 15 |
| `LICENSE`, `THIRD_PARTY_NOTICES.md`, `licenses/` | Project and upstream license terms |
|
| 16 |
| `MANIFEST.json`, `SHA256SUMS` | File sizes and integrity checks |
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
| 20 |
Models, matching assets and the runtime archive are downloaded from a pinned
|
| 21 |
Hugging Face revision, checksum-verified and included in the image during the
|
| 22 |
Docker build. Only uploaded documents/results need a persistent data volume.
|
|
|
|
| 11 |
| `checkpoints/initial_v1/table/best/` | Table structure weights/configuration |
|
| 12 |
| `runtime/docr-runtime-cp312-linux-x86_64.tar.gz` | 48 compiled backend/API modules; CPython 3.12, Linux x86-64 |
|
| 13 |
| `Dockerfile`, `Dockerfile.cpu`, `Dockerfile.gpu`, `compose.gpu.yml`, `compose.cpu.yml`, `requirements-runtime.txt` | Runtime installation and service definitions |
|
| 14 |
+
| `examples/` | Four input/detection image pairs, uncorrected OCR text, and run metadata |
|
| 15 |
| `README.md`, `USER_GUIDE.md`, `VALIDATION.md`, `evaluation.json` | Architecture, usage, validation and aggregate accuracy |
|
| 16 |
| `LICENSE`, `THIRD_PARTY_NOTICES.md`, `licenses/` | Project and upstream license terms |
|
| 17 |
| `MANIFEST.json`, `SHA256SUMS` | File sizes and integrity checks |
|
| 18 |
|
| 19 |
+
Only the selected demonstration images in `examples/` are included. No browser
|
| 20 |
+
frontend, Python application source, bulk training/evaluation datasets, application
|
| 21 |
+
upload history, database, API keys or Hugging Face tokens are included.
|
| 22 |
Models, matching assets and the runtime archive are downloaded from a pinned
|
| 23 |
Hugging Face revision, checksum-verified and included in the image during the
|
| 24 |
Docker build. Only uploaded documents/results need a persistent data volume.
|
SHA256SUMS
CHANGED
|
@@ -4,11 +4,11 @@ e33f95d1572337075729f0c59c5036ca1b04905d409c4ce8d3aeeb8bb02a2657 .dockerignore
|
|
| 4 |
625381ac308b844814648e6b249a7efb0679dabccbb51aa0387adc851f668730 Dockerfile.cpu
|
| 5 |
5de9bd8ef55a3151ddf05d862c5351f2ecbac55e9e875136475a1c92b2445991 Dockerfile.gpu
|
| 6 |
009ede9dcf424a74d680f0c2a73cdec0744be5c2222fb1c17bf6b1de913994b5 LICENSE
|
| 7 |
-
|
| 8 |
-
|
| 9 |
3f56026647a1826d304ee1c19546429c1680f06828fd09d5a2dfcd5c181cbbdc THIRD_PARTY_NOTICES.md
|
| 10 |
9f7235ab1735f7887691ffaa07230a144f864e80722801c1bcf32bebaa576f05 USER_GUIDE.md
|
| 11 |
-
|
| 12 |
211f5a97103c0bb29a1b2f1e2550cfa362d9714269d3be62cbd0ac25ff4a0962 checkpoints/initial_v1/table/best/config.json
|
| 13 |
7a742f8cc18c52c42fd3fe525d34f1f933932211e0ba8aa27a8defaad438fcb0 checkpoints/initial_v1/table/best/model.safetensors
|
| 14 |
01fe51c564c48c71e904f42eb4d7679166595b868ff58b2b895b763ce20245e5 checkpoints/initial_v1/table/best/preprocessor_config.json
|
|
@@ -37,10 +37,23 @@ baec30ea10906f16adb8c18af7a34023002c1746542612b8b41c9f09e1351351 deploy/models/
|
|
| 37 |
61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2 deploy/models/siglip_qwen/vision/tokenizer.model
|
| 38 |
d2343400f0f86133053325951b696df8fd0f53a007cf6a546e6c2b4361344f47 deploy/models/siglip_qwen/vision/tokenizer_config.json
|
| 39 |
ff91da63ac07053045b7cdce1bba9192b484ea51c74fe53e72fd488c5d1aeacf evaluation.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 licenses/Apache-2.0.txt
|
| 41 |
41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0 licenses/CC-BY-NC-4.0.txt
|
| 42 |
ffcca38841adb694b6f380647e15f17c446a4d1656fed51a1e2041d064c94cc8 licenses/PolyForm-Noncommercial-1.0.0.txt
|
| 43 |
c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383 licenses/Table-Transformer-MIT.txt
|
| 44 |
02ae199640ec49c3b7e55af761ace3e668e4359c702e5985164a4aaa240939d1 requirements-runtime.txt
|
| 45 |
444026ee7cc6bb42e7ad0e59ef04cad974f2b63e03dfb8372b95838eaf15a2f1 runtime/docr-runtime-cp312-linux-x86_64.tar.gz
|
| 46 |
-
|
|
|
|
| 4 |
625381ac308b844814648e6b249a7efb0679dabccbb51aa0387adc851f668730 Dockerfile.cpu
|
| 5 |
5de9bd8ef55a3151ddf05d862c5351f2ecbac55e9e875136475a1c92b2445991 Dockerfile.gpu
|
| 6 |
009ede9dcf424a74d680f0c2a73cdec0744be5c2222fb1c17bf6b1de913994b5 LICENSE
|
| 7 |
+
d0f4ce57c011c21f7f5d078a03b79d44de38d625606fad55b9e7812d20b45918 README.md
|
| 8 |
+
23fbbe18d8c4dd7336fb3a5534178641a974bb1b42962416c715ff48b5a7599d RELEASE_FILES.md
|
| 9 |
3f56026647a1826d304ee1c19546429c1680f06828fd09d5a2dfcd5c181cbbdc THIRD_PARTY_NOTICES.md
|
| 10 |
9f7235ab1735f7887691ffaa07230a144f864e80722801c1bcf32bebaa576f05 USER_GUIDE.md
|
| 11 |
+
082d61029d9aa1528c4ef90d818892e28ef2887aa591e7ad6871589946ea390e VALIDATION.md
|
| 12 |
211f5a97103c0bb29a1b2f1e2550cfa362d9714269d3be62cbd0ac25ff4a0962 checkpoints/initial_v1/table/best/config.json
|
| 13 |
7a742f8cc18c52c42fd3fe525d34f1f933932211e0ba8aa27a8defaad438fcb0 checkpoints/initial_v1/table/best/model.safetensors
|
| 14 |
01fe51c564c48c71e904f42eb4d7679166595b868ff58b2b895b763ce20245e5 checkpoints/initial_v1/table/best/preprocessor_config.json
|
|
|
|
| 37 |
61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2 deploy/models/siglip_qwen/vision/tokenizer.model
|
| 38 |
d2343400f0f86133053325951b696df8fd0f53a007cf6a546e6c2b4361344f47 deploy/models/siglip_qwen/vision/tokenizer_config.json
|
| 39 |
ff91da63ac07053045b7cdce1bba9192b484ea51c74fe53e72fd488c5d1aeacf evaluation.json
|
| 40 |
+
b5a4c3dadc26a4a5f124efa2c6fad0efa196f256ac9c0319e34b3ea54dc48ea0 examples/handwriting-detected.png
|
| 41 |
+
652e3c403950c497cbbe5b998205cbf651823b36c9b05ec5103bf7f647572d0a examples/handwriting-input.png
|
| 42 |
+
f445e7ddb8fa4845eae8d61125c8d6e0c1eb8b73a8be60e637297843bceecb80 examples/handwriting-text.txt
|
| 43 |
+
2cb970d1c1bbedb763e85374669bebba8e4e4dc668e757afd0821fcc4c52bc78 examples/old-print-detected.png
|
| 44 |
+
cc872e04854b43786ab1c49e1bc37b3ec8bbb22e459ea7ccbe6162321377adbe examples/old-print-input.jpg
|
| 45 |
+
e946cd2e3019ea9209be5812353f3cae2c36d584c1d965e3ddc9defa8dffaf29 examples/old-print-text.txt
|
| 46 |
+
46df2dd129f4de4d96877134e40c9fbb7f8866046cee27ee15810684e0929182 examples/printed-page-detected.png
|
| 47 |
+
bca75dedd472f1d65d47eea8d6e1f812e1966d90f3f160c1d6ae6a4e2e156abd examples/printed-page-input.jpg
|
| 48 |
+
8bc34ce4b298bc2c29b0fac5c3fc38b319bc7eed19db960055463cdfa1cf53f3 examples/printed-page-text.txt
|
| 49 |
+
6431474378f8666be5488f7e5bc370979204a0cc9c541d1f9927d02ecf794315 examples/results.json
|
| 50 |
+
0b0dda414bcd5f821efdbd519ff2637cb9ad5e9320bad392fe7cb85474be5cf3 examples/table-crop-detected.png
|
| 51 |
+
3811b1bee42d3625197037fb1319a6c539570353a4c4d8b2a558d5892206203f examples/table-crop-input.png
|
| 52 |
+
46f1945bef0f90172e74123350a08044df9d32b84d6c05e97e8d04ec108ad902 examples/table-crop-text.txt
|
| 53 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 licenses/Apache-2.0.txt
|
| 54 |
41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0 licenses/CC-BY-NC-4.0.txt
|
| 55 |
ffcca38841adb694b6f380647e15f17c446a4d1656fed51a1e2041d064c94cc8 licenses/PolyForm-Noncommercial-1.0.0.txt
|
| 56 |
c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383 licenses/Table-Transformer-MIT.txt
|
| 57 |
02ae199640ec49c3b7e55af761ace3e668e4359c702e5985164a4aaa240939d1 requirements-runtime.txt
|
| 58 |
444026ee7cc6bb42e7ad0e59ef04cad974f2b63e03dfb8372b95838eaf15a2f1 runtime/docr-runtime-cp312-linux-x86_64.tar.gz
|
| 59 |
+
2fa05b309169f5b91f45b3cc63c48eb9fd1ab858d41cbcac855d7aea1ac2ca1d MANIFEST.json
|
VALIDATION.md
CHANGED
|
@@ -50,3 +50,24 @@ unseen benchmark. Full-page layout and table accuracy have not been scored.
|
|
| 50 |
was changed; the released CPU service uses FP32, not experimental INT8.
|
| 51 |
- The new GPU Docker recipe and Compose are supplied, but GPU image build and
|
| 52 |
execution remain unvalidated. This host has no NVIDIA Container Toolkit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
was changed; the released CPU service uses FP32, not experimental INT8.
|
| 51 |
- The new GPU Docker recipe and Compose are supplied, but GPU image build and
|
| 52 |
execution remain unvalidated. This host has no NVIDIA Container Toolkit.
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
## README detection examples — 25 November 2026
|
| 56 |
+
|
| 57 |
+
Four existing inputs were rerun through the published compiled runtime and
|
| 58 |
+
recognizer SHA-256 `20cc4c0a72cde62b1d3294a133988fabc4135dd3a13f2811927a35899003cb95`.
|
| 59 |
+
Recognition ran on an RTX 5060 Ti; Paddle workers ran on CPU. Warmup and all four
|
| 60 |
+
inference calls passed, with no error-status blocks. Input images, unmodified
|
| 61 |
+
runtime overlays, raw OCR text and settings are in `examples/`.
|
| 62 |
+
|
| 63 |
+
| Example | Mode | Result |
|
| 64 |
+
| --- | --- | --- |
|
| 65 |
+
| Clean printed page | page | 32 text regions; repetition stopping in two blocks |
|
| 66 |
+
| Aged printed page | page | 25 text regions |
|
| 67 |
+
| Handwritten page | page | 13 text regions; 554 text characters |
|
| 68 |
+
| Manually selected catalogue table crop | table | 10 cells; duplicate fallback text remains visible in the raw output |
|
| 69 |
+
|
| 70 |
+
These examples establish that the inference path executed on these inputs. No
|
| 71 |
+
reference-based page, table or transcription accuracy score is claimed. Boxes
|
| 72 |
+
and text were not corrected for presentation. These local GPU runs do not
|
| 73 |
+
validate GPU Docker execution or resolve the CPU image-unpack disk limitation.
|
examples/handwriting-detected.png
ADDED
|
Git LFS Details
|
examples/handwriting-input.png
ADDED
|
Git LFS Details
|
examples/handwriting-text.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
দামী দামী ভেট নিয়ে সে সটান গিয়ে হাজির হলো
|
| 2 |
+
একেবারে ম্যাজিস্ট্রেট সাহেবের বাড়িতে, মার - খাওয়া
|
| 3 |
+
ছেলেটির জন্যই উপহার রইলো দুশো টাকার, লুটিয়ে
|
| 4 |
+
পড়ল মিসেস বসুর পায়ের তলে। প্রার্থনা করল
|
| 5 |
+
রমেনের নিস্তার। ছেলের সম্বন্ধে কী ব্যবস্থা করবে
|
| 6 |
+
আগেই ভেবে ঠিক করে ফেলেছিল, তাই বিনা বিধায়
|
| 7 |
+
জানিয়ে দিল যে, ভয় পেয়ে রমেন কোথায় পার্লিয়ে
|
| 8 |
+
গিয়েছে, ফিরে এলে, খুঁটিতে বেঁধে তাকে চাবকে লাল
|
| 9 |
+
করে দেবে। সেইদিনই রমেনকে নিয়ে সে কলকাতা
|
| 10 |
+
রওনা হয়ে গেলো, ছেলেকে সুইপদর জিম্মা করে
|
| 11 |
+
দেবার জন্য। রমেনের মা একটু আপত্তি করেছিল।
|
| 12 |
+
' উনি স্বদেশী - টদেশি করেন ওনেছি, খোকাকে
|
| 13 |
+
আবার না বিগড়ে দেন।
|
examples/old-print-detected.png
ADDED
|
Git LFS Details
|
examples/old-print-input.jpg
ADDED
|
examples/old-print-text.txt
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
না করিয়া বিখাস করিয়া লাইগাছি, কারণ, সে আমার নিকটে প্রত্যক্ষ
|
examples/printed-page-detected.png
ADDED
|
Git LFS Details
|
examples/printed-page-input.jpg
ADDED
|
Git LFS Details
|
examples/printed-page-text.txt
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
তুমি সাধারণত যা চিন্তা করতে পার তার চাইতেও অনেক বেশি দেওয়ার ক্ষমতা আমার আছে,
|
examples/results.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"runtime": "Published compiled CPython 3.12 runtime",
|
| 3 |
+
"weights_revision": "4b557b4626bdfb39db3d7a0aed120a853092c0db",
|
| 4 |
+
"recognizer_sha256": "20cc4c0a72cde62b1d3294a133988fabc4135dd3a13f2811927a35899003cb95",
|
| 5 |
+
"device": "NVIDIA GeForce RTX 5060 Ti",
|
| 6 |
+
"paddle_device": "cpu",
|
| 7 |
+
"threshold": 0.3,
|
| 8 |
+
"max_new_tokens": 512,
|
| 9 |
+
"examples": [
|
| 10 |
+
{
|
| 11 |
+
"id": "printed-page",
|
| 12 |
+
"document_type": "Clean printed Bangla page",
|
| 13 |
+
"mode": "page",
|
| 14 |
+
"input": "printed-page-input.jpg",
|
| 15 |
+
"input_sha256": "bca75dedd472f1d65d47eea8d6e1f812e1966d90f3f160c1d6ae6a4e2e156abd",
|
| 16 |
+
"overlay": "printed-page-detected.png",
|
| 17 |
+
"image_size": [
|
| 18 |
+
867,
|
| 19 |
+
1126
|
| 20 |
+
],
|
| 21 |
+
"layout_regions": 5,
|
| 22 |
+
"blocks": 32,
|
| 23 |
+
"table_cells": 0,
|
| 24 |
+
"text_characters": 2382,
|
| 25 |
+
"seconds": 20.28,
|
| 26 |
+
"warnings": [
|
| 27 |
+
"Experimental line-first pipeline. Detection confidence is not OCR confidence.",
|
| 28 |
+
"Detected text uses rectification and illumination normalization; complex layouts still require validation.",
|
| 29 |
+
"Repetition stopped in block line_1; review the recognized text.",
|
| 30 |
+
"Repetition stopped in block line_7; review the recognized text."
|
| 31 |
+
],
|
| 32 |
+
"manual_crop_box": null
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"id": "old-print",
|
| 36 |
+
"document_type": "Low-resolution aged printed page",
|
| 37 |
+
"mode": "page",
|
| 38 |
+
"input": "old-print-input.jpg",
|
| 39 |
+
"input_sha256": "cc872e04854b43786ab1c49e1bc37b3ec8bbb22e459ea7ccbe6162321377adbe",
|
| 40 |
+
"overlay": "old-print-detected.png",
|
| 41 |
+
"image_size": [
|
| 42 |
+
500,
|
| 43 |
+
771
|
| 44 |
+
],
|
| 45 |
+
"layout_regions": 9,
|
| 46 |
+
"blocks": 25,
|
| 47 |
+
"table_cells": 0,
|
| 48 |
+
"text_characters": 1127,
|
| 49 |
+
"seconds": 8.52,
|
| 50 |
+
"warnings": [
|
| 51 |
+
"Experimental line-first pipeline. Detection confidence is not OCR confidence.",
|
| 52 |
+
"Detected text uses rectification and illumination normalization; complex layouts still require validation."
|
| 53 |
+
],
|
| 54 |
+
"manual_crop_box": null
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"id": "handwriting",
|
| 58 |
+
"document_type": "Handwritten Bangla prose",
|
| 59 |
+
"mode": "page",
|
| 60 |
+
"input": "handwriting-input.png",
|
| 61 |
+
"input_sha256": "652e3c403950c497cbbe5b998205cbf651823b36c9b05ec5103bf7f647572d0a",
|
| 62 |
+
"overlay": "handwriting-detected.png",
|
| 63 |
+
"image_size": [
|
| 64 |
+
2286,
|
| 65 |
+
1551
|
| 66 |
+
],
|
| 67 |
+
"layout_regions": 2,
|
| 68 |
+
"blocks": 13,
|
| 69 |
+
"table_cells": 0,
|
| 70 |
+
"text_characters": 554,
|
| 71 |
+
"seconds": 5.54,
|
| 72 |
+
"warnings": [
|
| 73 |
+
"Experimental line-first pipeline. Detection confidence is not OCR confidence.",
|
| 74 |
+
"Detected text uses rectification and illumination normalization; complex layouts still require validation."
|
| 75 |
+
],
|
| 76 |
+
"manual_crop_box": null
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"id": "table-crop",
|
| 80 |
+
"document_type": "Manually selected catalogue table crop",
|
| 81 |
+
"mode": "table",
|
| 82 |
+
"input": "table-crop-input.png",
|
| 83 |
+
"input_sha256": "3811b1bee42d3625197037fb1319a6c539570353a4c4d8b2a558d5892206203f",
|
| 84 |
+
"overlay": "table-crop-detected.png",
|
| 85 |
+
"image_size": [
|
| 86 |
+
404,
|
| 87 |
+
254
|
| 88 |
+
],
|
| 89 |
+
"layout_regions": 1,
|
| 90 |
+
"blocks": 4,
|
| 91 |
+
"table_cells": 10,
|
| 92 |
+
"text_characters": 188,
|
| 93 |
+
"seconds": 1.77,
|
| 94 |
+
"warnings": [
|
| 95 |
+
"Experimental line-first pipeline. Detection confidence is not OCR confidence.",
|
| 96 |
+
"Detected text uses rectification and illumination normalization; complex layouts still require validation."
|
| 97 |
+
],
|
| 98 |
+
"manual_crop_box": [
|
| 99 |
+
543.5395121951219,
|
| 100 |
+
1241.8052256532067,
|
| 101 |
+
948.3434146341463,
|
| 102 |
+
1496.437054631829
|
| 103 |
+
]
|
| 104 |
+
}
|
| 105 |
+
]
|
| 106 |
+
}
|
examples/table-crop-detected.png
ADDED
|
examples/table-crop-input.png
ADDED
|
examples/table-crop-text.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Nature Series পরিবেশ ও প্রকৃতি
|
| 2 |
+
Dr. Anjan Sarkar/ ড. অঞ্জন সরকার
|
| 3 |
+
Crocodile 25.00
|
| 4 |
+
Butterfly is Beautiful 25.00
|
| 5 |
+
Binu's Dream and The Rainbow 30.00
|
| 6 |
+
Toad: the Story 30.00
|
| 7 |
+
30.00
|
| 8 |
+
Toad : the Story
|