Commit ·
442d295
verified ·
0
Parent(s):
Duplicate from Process-Venue/Marathi_Handwritten
Browse filesCo-authored-by: ProcessVenue <processvenue@users.noreply.huggingface.co>
- .gitattributes +59 -0
- README.md +141 -0
- data/train-00000-of-00001.parquet +3 -0
- data/validation-00000-of-00001.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- image-to-text
|
| 6 |
+
- image-feature-extraction
|
| 7 |
+
tags:
|
| 8 |
+
- handwriting-recognition
|
| 9 |
+
- OCR
|
| 10 |
+
- Marathi
|
| 11 |
+
- image-processing
|
| 12 |
+
- deep-learning
|
| 13 |
+
- computer-vision
|
| 14 |
+
pretty_name: Marathi Handwritten OCR
|
| 15 |
+
size_categories:
|
| 16 |
+
- 1K<n<10K
|
| 17 |
+
language:
|
| 18 |
+
- mr
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Dataset Card for Marathi Handwritten OCR Dataset
|
| 22 |
+
|
| 23 |
+
### Dataset Description
|
| 24 |
+
|
| 25 |
+
- **Repository:** processvenue/Marathi_Handwritten
|
| 26 |
+
- **Total Examples:** 2520
|
| 27 |
+
- **Splits:**
|
| 28 |
+
- train: 2016 examples
|
| 29 |
+
- validation: 504 examples
|
| 30 |
+
- **Features:** image, id, filename, label, type
|
| 31 |
+
- **Size:** 2520 images
|
| 32 |
+
- **Language:** mr
|
| 33 |
+
- **License:** mit
|
| 34 |
+
|
| 35 |
+
### Dataset Summary
|
| 36 |
+
|
| 37 |
+
The Marathi Handwritten Text Dataset is a collection of handwritten text images in Marathi (देवनागरी लिपी),
|
| 38 |
+
aimed at supporting the development of Optical Character Recognition (OCR) systems, handwriting analysis tools,
|
| 39 |
+
and language research.The dataset was curated from native Marathi speakers to ensure a variety of handwriting styles and character variations.
|
| 40 |
+
The dataset contains 2520 images with two categories:
|
| 41 |
+
- बाराखडी (Barakhadi/syllables): 560 characters
|
| 42 |
+
- शब्द (Words): 1949 words
|
| 43 |
+
- Image Format: PNG
|
| 44 |
+
- Label Format: Text file
|
| 45 |
+
- Image Dimensions: 115x57 OR 114x58 pixels
|
| 46 |
+
- Storage Format: Parquet (Hugging Face)
|
| 47 |
+
|
| 48 |
+
Language Statistics:
|
| 49 |
+
- Marathi is the third most spoken language in India
|
| 50 |
+
- Approximately 83 million speakers (7% of India's population)
|
| 51 |
+
- Official language of Maharashtra
|
| 52 |
+
- One of the 22 scheduled languages of India
|
| 53 |
+
|
| 54 |
+
Applications
|
| 55 |
+
1. OCR Development
|
| 56 |
+
- Handwriting recognition systems
|
| 57 |
+
- Document digitization
|
| 58 |
+
- Text extraction tools
|
| 59 |
+
|
| 60 |
+
2. Educational Tools
|
| 61 |
+
- Language learning applications
|
| 62 |
+
- Writing practice systems
|
| 63 |
+
- Digital literacy programs
|
| 64 |
+
|
| 65 |
+
3. Research Applications
|
| 66 |
+
- Script analysis
|
| 67 |
+
- Language processing
|
| 68 |
+
- Pattern recognition studies
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
### Data Fields
|
| 72 |
+
|
| 73 |
+
- `image`: Image feature (PIL Image)
|
| 74 |
+
- `id`: Feature field
|
| 75 |
+
- `filename`: Feature field
|
| 76 |
+
- `label`: Feature field
|
| 77 |
+
- `type`: Feature field
|
| 78 |
+
|
| 79 |
+
### Dataset Creation
|
| 80 |
+
|
| 81 |
+
The dataset was created through careful curation of handwritten samples from native Marathi speakers.
|
| 82 |
+
The dataset includes both character-level (syllables) and word-level annotations.
|
| 83 |
+
Contributors were provided with pre-written text designed to capture:
|
| 84 |
+
- Common character variations
|
| 85 |
+
- Diverse writing styles
|
| 86 |
+
- Standard word formations
|
| 87 |
+
- Typical punctuation usage
|
| 88 |
+
|
| 89 |
+
The images were carefully processed and stored in PNG format, while metadata and labels were structured
|
| 90 |
+
in a Parquet file format.
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Usage Example
|
| 94 |
+
|
| 95 |
+
```python
|
| 96 |
+
from datasets import load_dataset
|
| 97 |
+
import matplotlib.pyplot as plt
|
| 98 |
+
|
| 99 |
+
# Load the dataset
|
| 100 |
+
dataset = load_dataset("processvenue/Marathi_Handwritten")
|
| 101 |
+
|
| 102 |
+
# Get an example from train split
|
| 103 |
+
example = dataset['train'][0]
|
| 104 |
+
|
| 105 |
+
# Display the image
|
| 106 |
+
plt.figure(figsize=(5, 5))
|
| 107 |
+
plt.imshow(example['image'])
|
| 108 |
+
plt.title(f"Sample Image")
|
| 109 |
+
plt.axis('off')
|
| 110 |
+
plt.show()
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
### Citation
|
| 114 |
+
|
| 115 |
+
If you use this dataset in your research, please cite:
|
| 116 |
+
|
| 117 |
+
```
|
| 118 |
+
@misc{sanskrit-ocr-dataset,
|
| 119 |
+
title = {Sanskrit OCR Dataset},
|
| 120 |
+
author = {ProcessVenue},
|
| 121 |
+
year = {2024},
|
| 122 |
+
publisher = {HuggingFace},
|
| 123 |
+
url = {https://huggingface.co/datasets/processvenue/Sanskrit-OCR-Dataset},
|
| 124 |
+
organization = {ProcessVenue},
|
| 125 |
+
contact = {sales@processvenue.com},
|
| 126 |
+
Website = {https://www.processvenue.com/}
|
| 127 |
+
}
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
### References
|
| 132 |
+
|
| 133 |
+
```
|
| 134 |
+
@misc{Sarode_Marathi_Handwritten_Text,
|
| 135 |
+
author = {Hrushikesh Sarode},
|
| 136 |
+
title = {Marathi Handwritten Text Dataset},
|
| 137 |
+
year = {n.d.},
|
| 138 |
+
url = {https://www.kaggle.com/datasets/hrushikeshsarode/marathi-handwritten-text-dataset},
|
| 139 |
+
note = {Accessed: February 12, 2025}
|
| 140 |
+
}
|
| 141 |
+
```
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78b1b5b30f5b2a4c013ef05de84e07dcd17b532413597b50580c6d333fbd71f5
|
| 3 |
+
size 9405996
|
data/validation-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8572eefc4545472fe2cc9f0d0cae829df97f34498892cd58143b7129a661dd95
|
| 3 |
+
size 2356709
|