Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringclasses
2 values
side
stringclasses
2 values
image
imagewidth (px)
576
576
markdown
stringclasses
2 values
surya_blocks
stringclasses
2 values
inference_info
stringclasses
1 value
permis-recto
recto
CAN 375473 رخصة السياقة PERMIS DE CONDUIRE المملكة المغربية ROYAUME DU MARITIME جو الشخصي مهدي الاسم العاملي كويد Prénom MEHDI Nom GOUOUJIAD C.N.I. BE899456 Né(e) le 24/02/1998 تاريخ الولائة الدار البيضاء CASABLANCA Permis N° رقم الرخصة 02/567609 Casa nord le في الدار البيضاء 2009/2016 B
[{"blocks": [{"polygon": [[489.59999999999997, 0.0], [576.0, 0.0], [576.0, 61.44], [489.59999999999997, 61.44]], "confidence": 0.8882025410976354, "label": "PageHeader", "raw_label": "Page-Header", "reading_order": 0, "html": "<p>CAN 375473</p>", "skipped": false, "error": false, "bbox": [489.59999999999997, 0.0, 576.0...
[{"model": "datalab-to/surya-ocr-2", "model_name": "surya-ocr-2", "column_name": "markdown", "blocks_column": "surya_blocks", "task": "ocr", "table_mode": null, "backend": "vllm-offline", "page_range": null, "error_rate": 0.0, "timestamp": "2026-08-11T13:51:59.159653+00:00", "script": "surya-ocr.py"}]
permis-verso
verso
الاصطناع Categories تاريخ التعليم Date de délivrance التقنيات Restrictions A تاريخ التعليم A تاريخ التعليم B تاريخ التعليم 2009/2016 C تاريخ التعليم D تاريخ التعليم EB تاريخ التعليم ED تاريخ التعليم Date de fin de validité : 05/10/2026 تاريخ نهاية المتلاحية 9100 0500 0408 1583
[{"blocks": [{"polygon": [[457.92, 0.0], [576.0, 0.0], [576.0, 163.84], [457.92, 163.84]], "confidence": 0.9504527413770506, "label": "Picture", "raw_label": "Image", "reading_order": 0, "html": "", "skipped": true, "error": false, "bbox": [457.92, 0.0, 576.0, 163.84]}, {"polygon": [[63.36, 481.28], [452.16, 481.28], [...
[{"model": "datalab-to/surya-ocr-2", "model_name": "surya-ocr-2", "column_name": "markdown", "blocks_column": "surya_blocks", "task": "ocr", "table_mode": null, "backend": "vllm-offline", "page_range": null, "error_rate": 0.0, "timestamp": "2026-08-11T13:51:59.159653+00:00", "script": "surya-ocr.py"}]

Surya OCR 2 (ocr) on mehdigououiad/permis-ocr-bench

Full-page ocr (structured html + bounding boxes) over images in mehdigououiad/permis-ocr-bench using Surya OCR 2 (650M, Qwen3.5-based) by Datalab, via the surya-ocr package, run as offline vLLM batch inference on Hugging Face Jobs.

Processing Details

  • Source Dataset: mehdigououiad/permis-ocr-bench
  • Model: datalab-to/surya-ocr-2
  • Task: ocr
  • Input column: image (image)
  • Text column: markdown (flattened, reading-order text per row)
  • Structured column: surya_blocks (JSON: per-page blocks with bbox / polygon / label / reading_order / confidence / html)
  • Split: train
  • Samples: 2
  • Processed OK: 2 / 2
  • Processing time: 2.8 min
  • Date: 2026-08-11 13:52 UTC

License note

Surya's code is Apache-2.0, but the model weights use a modified OpenRAIL-M license: free for research, personal use, and startups under $5M funding/revenue, restricted from competitive use against Datalab's API. See the model card.

Dataset Structure

Original columns plus:

  • markdown: flattened text (OCR), label outline (layout), or table HTML (table)
  • surya_blocks: structured result as a JSON string (one entry per page)
  • inference_info: JSON list tracking models applied to this dataset

Generated with UV Scripts.

Downloads last month
21