Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

NID OCR Dataset

Split Samples
train 28,347
validation 6,000

Sources

  • Synthetic — TextRecognitionDataGenerator (token-balanced)
  • Shamadhan — real cropped NID field images (reviewed labels)

Columns

Column Type Description
image Image Cropped NID field (RGB)
text string OCR ground-truth label
class_name string NID field type (e.g. en_name, address_line_00)
source string synthetic or shamadhan

Load

from datasets import load_dataset
ds = load_dataset('parquet', data_files={
    'train':      'hf_dataset/train/*.parquet',
    'validation': 'hf_dataset/validation/*.parquet',
})

Upload

ds.push_to_hub('your-org/nid-ocr-dataset')
Downloads last month
114