You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

40K Kashmiri Words with images

Kashmiri (words) Image and Text Dataset for OCR Models

This repository contains a dataset specifically curated for training and testing Optical Character Recognition (OCR) models on Kashmiri language text. The dataset includes a large collection of images with their corresponding labels in a CSV file, designed to aid in the development of robust OCR solutions for the Kashmiri script.


Directory Structure:

Zip File/
├── images/
│   ├── 000001.png
│   ├── 000002.png
│   ├── 000003.png
│   ├── ...
│   ├── 031000.png
├── labels.csv

Description:

Zip File/: The root directory containing all the dataset files and subfolders.

images/: A folder housing 40,799 image files, sequentially named from 000001.png to 040799.png. Each image contains text written in the Kashmiri language.

labels.csv: A CSV file mapping each image file to its corresponding text label. The file format includes two columns:

Sample fromat

Image ID Text Image File
000001 لیونڈ image/png
000002 لایم image/png
000003 ٹیرف image/png
000004 تلاان image/png
000005 آرکیالوجیکل image/png
000006 چتوڈکہ image/png
000007 پریانشو image/png
000008 کالیسٹریٹسنک image/png
000009 جولاے image/png

Usage Terms for this Corpus Dataset

  1. Purpose of Use
    This dataset is made available for the purpose of training machine learning models such as developing OCR systems for the Kashmiri script , academic research, and other non-commercial uses related to the Kashmiri language and its applications.

  2. Citation Requirement
    If you use this dataset for research, training models, or any other purpose, you must provide proper attribution by citing the following:

    @misc{HNM OCR dataset2024, title = {Omarrran/40K_kashmiri_text_and_image_dataset}, author = {HAQ NAWAZ MALIK}, year = {2024}, url = {https://huggingface.co/datasets/Omarrran/40K_kashmiri_text_and_image_dataset/}, note = {Contains 40,799 images with labels } }

  3. Modifications and Extensions
    Any modifications, extensions, or derivative works created using this dataset must not be redistributed, published, or shared without obtaining explicit written permission from the dataset's creator.

  4. Contact for Permissions
    For any queries regarding usage, such as modifications, extensions, commercial applications, or redistribution, please contact the Author at:

    [Hnm{dot}cs{dot}ai{at}outlook{dot}com]

  5. Disclaimer
    The dataset is provided "as is" without any warranties, guarantees, or liabilities. The creator assumes no responsibility for any direct or indirect consequences resulting from its use.

By using this dataset, you agree to abide by these terms.

Example Usage in Python

1

Extract the Zip file then ;

2

import pandas as pd
from PIL import Image

# Load labels
labels = pd.read_csv('labels.csv')

# Example: Display an image and its corresponding label
image_path = 'images/000001.png'
image = Image.open(image_path)
print(f"Label: {labels[labels['image_name'] == '000001.png']['text_label'].values[0]}")
image.show()

Dataset Details

Number of Images: 40,799

Language: Kashmiri

File Format:

Images: .png

Labels: .csv


Contribution

If you encounter any issues or have suggestions for improving this dataset, feel free to open an issue or submit a pull request.


License

This dataset is released under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Please provide appropriate credit when using this dataset in your projects.

Citation:

@misc{dataset2024,
  title        = {Omarrran/40K_kashmiri_text_and_image_dataset},
  author       = {HAQ NAWAZ MALIK},
  year         = {2024},
  url          = {https://huggingface.co/datasets/Omarrran/40K_kashmiri_text_and_image_dataset/},
  note         = {Contains 40,799 images with labels }
}
Downloads last month
30