BHDD: A Burmese Handwritten Digit Dataset
Paper • 2603.21966 • Published
image imagewidth (px) 28 28 | label class label 10
classes |
|---|---|
8၈ | |
8၈ | |
7၇ | |
0၀ | |
6၆ | |
2၂ | |
1၁ | |
1၁ | |
3၃ | |
8၈ | |
6၆ | |
9၉ | |
5၅ | |
2၂ | |
2၂ | |
3၃ | |
8၈ | |
1၁ | |
8၈ | |
8၈ | |
1၁ | |
2၂ | |
5၅ | |
9၉ | |
0၀ | |
4၄ | |
1၁ | |
8၈ | |
7၇ | |
3၃ | |
1၁ | |
5၅ | |
9၉ | |
0၀ | |
5၅ | |
6၆ | |
4၄ | |
7၇ | |
4၄ | |
7၇ | |
7၇ | |
6၆ | |
3၃ | |
4၄ | |
6၆ | |
5၅ | |
8၈ | |
9၉ | |
2၂ | |
9၉ | |
6၆ | |
3၃ | |
0၀ | |
8၈ | |
9၉ | |
6၆ | |
7၇ | |
7၇ | |
7၇ | |
2၂ | |
9၉ | |
5၅ | |
9၉ | |
6၆ | |
0၀ | |
0၀ | |
5၅ | |
1၁ | |
0၀ | |
7၇ | |
3၃ | |
4၄ | |
7၇ | |
2၂ | |
8၈ | |
3၃ | |
8၈ | |
9၉ | |
9၉ | |
3၃ | |
6၆ | |
3၃ | |
0၀ | |
2၂ | |
5၅ | |
3၃ | |
6၆ | |
3၃ | |
6၆ | |
7၇ | |
7၇ | |
2၂ | |
5၅ | |
1၁ | |
2၂ | |
0၀ | |
1၁ | |
2၂ | |
8၈ | |
4၄ |
BHDD is the first publicly available dataset for handwritten Burmese (Myanmar) digit recognition — the Burmese counterpart to MNIST.
87,561 grayscale images (28×28 px) of handwritten Burmese digits across 10 classes, collected from over 150 contributors.
| Split | Samples | Balanced? |
|---|---|---|
| Train | 60,000 | Yes (6,000 per class) |
| Test | 27,561 | No (natural frequency) |
The train/test split is by contributor — no writer's handwriting appears in both sets.
from datasets import load_dataset
ds = load_dataset("expa-ai/BHDD")
# Access a sample
sample = ds["train"][0]
sample["image"] # PIL Image (28x28 grayscale)
sample["label"] # int 0–9
With PyTorch:
from datasets import load_dataset
from torchvision import transforms
ds = load_dataset("expa-ai/BHDD")
transform = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize((0.5,), (0.5,)),
])
def preprocess(example):
example["image"] = transform(example["image"].convert("L"))
return example
ds = ds.map(preprocess)
ds.set_format(type="torch", columns=["image", "label"])
| Model | Accuracy | Macro F1 | Parameters |
|---|---|---|---|
| MLP (2 hidden layers) | 99.40% | 0.993 | — |
| CNN (2 conv layers) | 99.75% | 0.996 | 421K |
| Improved CNN (3 conv + BN + augmentation) | 99.83% | 0.998 | 431K |
Only 47 of 27,561 test samples are misclassified by the best model. Errors cluster around the 0–1 pair (closed vs. open circle).
@article{aung2025bhdd,
title = {{BHDD}: A Burmese Handwritten Digit Dataset},
author = {Swan Htet Aung and Hein Htet and Htoo Say Wah Khaing and Thuya Myo Nyunt},
year = {2025},
eprint = {2603.21966},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2603.21966}
}