Datasets:
metadata
license: apache-2.0
task_categories:
- text-to-image
language:
- ar
tags:
- arabic
- Qari
- OCR
- ArabicOCR
- BookStyle
- Markdown
pretty_name: Qari-OCR
size_categories:
- 10K<n<100K
QARI Markdown Mixed Dataset

📋 Dataset Summary
The QARI Markdown Mixed Dataset is a specialized synthetic dataset designed for training Arabic OCR models with a focus on complex document layouts and HTML structure understanding. This dataset is part of the QARI-OCR project, which achieves state-of-the-art performance in Arabic text recognition.
This dataset contains 50,000 synthetically generated Arabic document images with corresponding ground truth text in HTML/Markdown format, featuring:
- 🔤 Full diacritical marks (tashkeel) support
- 📝 Mixed font sizes within documents (headers, body text, annotations)
- 🎨 12 distinct Arabic fonts ranging from common Naskh to ornate calligraphic styles
- 📄 Realistic document layouts with structural HTML tags
- 🖼️ Three degradation levels: Clean, Moderate, and Heavy
🎯 Intended Use
This dataset is specifically designed for:
- Training OCR models that need to understand document structure
- Fine-tuning vision-language models for Arabic text recognition
- Developing systems that preserve formatting and layout information
- Research in Arabic document analysis and understanding
📊 Dataset Statistics
Metric | Value |
---|---|
Total Images | 50,000 |
Text Sources | Modern news articles + Classical Islamic corpus |
Font Variety | 12 Arabic fonts |
Font Size Range | 14px - 100px |
Degradation Types | 3 (Clean, Moderate, Heavy) |
Diacritics Support | ✅ Full tashkeel |
HTML Structure | ✅ Preserved |
Layout Complexity | ✅ High (mixed sizes, headers) |