--- language: - en - hi license: apache-2.0 task_categories: - image-to-text tags: - table-structure-recognition - tsr - document-understanding - ocr - benchmark - indian-textbooks - html - sample size_categories: - n<1K --- # DrishtiTable: A Benchmark for Table Structure Recognition in Indian Academic Textbooks > **Try the model now!** Upload any table image and get HTML structure back: > **[DrishtiTable Live Demo](https://huggingface.co/spaces/nalanda-data/DrishtiTable)** > **This is a sample release** containing 20 representative tables (10 train / 5 val / 5 test). The full dataset contains 1,421 tables. Contact the authors for full dataset access. DrishtiTable is a curated dataset of table images with high-quality HTML structure annotations from Indian academic textbooks published by S. Chand Publications. It serves as a benchmark for evaluating Table Structure Recognition (TSR) models on domain-specific educational content. ## Benchmark Results (Full Dataset) | Model | Method | TEDS | S-TEDS | |---|---|---|---| | Qwen2.5-VL-7B | Zero-shot | 58.8% | 74.0% | | o4-mini (OpenAI) | Zero-shot | 61.4% | 70.0% | | GPT-4.1 (OpenAI) | Zero-shot | 68.0% | 80.8% | | GPT-4o (OpenAI) | Zero-shot | 71.1% | 84.3% | | **DrishtiTable-Qwen2.5-VL-7B** | **SFT** | **83.2%** | **89.7%** | ## Sample Dataset Statistics | Split | Samples (this release) | Samples (full dataset) | |---|---|---| | Train | 10 | 1,141 | | Validation | 5 | 145 | | Test | 5 | 135 | | **Total** | **20** | **1,421** | ## Full Dataset Statistics The complete DrishtiTable dataset spans 9 Indian academic textbooks across 6 subjects: | Subject | Tables | |---|---| | Financial Accounting | 780 | | Business Statistics | 261 | | Quantitative Techniques | 183 | | Operation Research | 108 | | Steam Tables (Engineering) | 52 | | Ethics | 37 | ### Complexity Features (Full Dataset) | Feature | Count | Percentage | |---|---|---| | Merged cells (colspan/rowspan) | 200 | 14.1% | | Multi-level hierarchy | 219 | 15.4% | | Empty cells | 340 | 23.9% | | Bold text | 890 | 62.6% | ## Data Format Each sample consists of: - **Image**: Cropped table region as PNG (`images/`) - **Annotation**: HTML structure with semantic tags (`annotations/`) - **Metadata**: Table properties as JSON (`metadata/`) ### HTML Annotation Example ```html
| Year | Revenue | |
|---|---|---|
| 2024 | 1,234 | 5,678 |