Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
844
1.03k
sample_id
int64
1
560
participant_id
stringclasses
8 values
sentence_id
int64
1
699
text
stringlengths
21
58
split
stringclasses
1 value
1
3130f902-147f-483e-b4c8-fa62c9595101
71
الگوریتم‌ها مسائل را حل می‌کنند.
train
2
3130f902-147f-483e-b4c8-fa62c9595101
21
هنر می‌تواند احساسات را بیان کند.
train
3
3130f902-147f-483e-b4c8-fa62c9595101
26
آزمایش دقیق اساس علم است.
train
4
3130f902-147f-483e-b4c8-fa62c9595101
77
نقاشی مینیاتور ظرافت خاصی دارد.
train
5
3130f902-147f-483e-b4c8-fa62c9595101
100
آینده از آن کسانی است که امروز می‌کوشند.
train
6
3130f902-147f-483e-b4c8-fa62c9595101
22
پل‌های تاریخی یادگار گذشتگان‌اند.
train
7
3130f902-147f-483e-b4c8-fa62c9595101
37
کویر در شب بسیار زیباست.
train
8
3130f902-147f-483e-b4c8-fa62c9595101
24
صبحانه سالم روز را بهتر آغاز می‌کند.
train
9
3130f902-147f-483e-b4c8-fa62c9595101
82
کد تمیز نگهداری پروژه را آسان می‌کند.
train
10
3130f902-147f-483e-b4c8-fa62c9595101
91
سیستم‌های هوشمند تصمیم‌گیری را یاری می‌کنند.
train
11
3130f902-147f-483e-b4c8-fa62c9595101
32
فیزیک قوانین حرکت را توضیح می‌دهد.
train
12
3130f902-147f-483e-b4c8-fa62c9595101
4
پرندگان در بهار آواز می‌خوانند.
train
13
3130f902-147f-483e-b4c8-fa62c9595101
99
همدلی جامعه را قوی‌تر می‌کند.
train
14
3130f902-147f-483e-b4c8-fa62c9595101
25
درختان اکسیژن تولید می‌کنند.
train
15
3130f902-147f-483e-b4c8-fa62c9595101
97
شعله شمع در باد می‌لرزد.
train
16
3130f902-147f-483e-b4c8-fa62c9595101
16
نوآوری بدون پشتکار ممکن نیست.
train
17
3130f902-147f-483e-b4c8-fa62c9595101
48
نان تازه بوی خوبی دارد.
train
18
3130f902-147f-483e-b4c8-fa62c9595101
2
امروز هوا بسیار خوب است.
train
19
3130f902-147f-483e-b4c8-fa62c9595101
73
خط میخی از خطوط کهن است.
train
20
3130f902-147f-483e-b4c8-fa62c9595101
83
قصه‌های مادربزرگ خاطره‌انگیزند.
train
21
3130f902-147f-483e-b4c8-fa62c9595101
1
من به یادگیری هوش مصنوعی علاقه دارم.
train
22
3130f902-147f-483e-b4c8-fa62c9595101
67
محیط زیست نیازمند مراقبت است.
train
23
3130f902-147f-483e-b4c8-fa62c9595101
33
خطاطی هنر زیبایی است.
train
24
3130f902-147f-483e-b4c8-fa62c9595101
75
شهرها به فضای سبز نیاز دارند.
train
25
3130f902-147f-483e-b4c8-fa62c9595101
40
ساسانیان یکی از سلسله‌های ایران بودند.
train
26
3130f902-147f-483e-b4c8-fa62c9595101
45
داستان‌های کهن پندآموز هستند.
train
27
3130f902-147f-483e-b4c8-fa62c9595101
15
آب پاکیزه نعمتی بزرگ است.
train
28
3130f902-147f-483e-b4c8-fa62c9595101
50
نور خورشید انرژی زمین است.
train
29
3130f902-147f-483e-b4c8-fa62c9595101
44
زیست‌شناسی زندگی را مطالعه می‌کند.
train
30
3130f902-147f-483e-b4c8-fa62c9595101
81
ابرها باران را با خود می‌آورند.
train
31
3130f902-147f-483e-b4c8-fa62c9595101
23
برنامه نویسی مهارت مفیدی است.
train
32
3130f902-147f-483e-b4c8-fa62c9595101
9
کوهنوردی در صبح زود انرژی می‌بخشد.
train
33
3130f902-147f-483e-b4c8-fa62c9595101
74
آب و هوا در حال تغییر است.
train
34
3130f902-147f-483e-b4c8-fa62c9595101
98
نرم‌افزار آزاد به اشتراک دانش کمک می‌کند.
train
35
3130f902-147f-483e-b4c8-fa62c9595101
28
انقلاب مشروطه نقطه عطفی بود.
train
36
3130f902-147f-483e-b4c8-fa62c9595101
17
کودکان آینده جامعه هستند.
train
37
3130f902-147f-483e-b4c8-fa62c9595101
76
پرواز پرندگان الهام‌بخش مهندسان شد.
train
38
3130f902-147f-483e-b4c8-fa62c9595101
27
موسیقی سنتی ایرانی شنیدنی است.
train
39
3130f902-147f-483e-b4c8-fa62c9595101
68
هر انسان حق آموزش دارد.
train
40
3130f902-147f-483e-b4c8-fa62c9595101
63
آسمان صاف نوید روزی آرام است.
train
41
3130f902-147f-483e-b4c8-fa62c9595101
92
گنجینه‌های خطی باید دیجیتال شوند.
train
42
3130f902-147f-483e-b4c8-fa62c9595101
53
یادگیری زبان جدید ذهن را فعال می‌کند.
train
43
3130f902-147f-483e-b4c8-fa62c9595101
20
ریاضیات زبان طبیعت است.
train
44
3130f902-147f-483e-b4c8-fa62c9595101
80
دانش باید در خدمت انسان باشد.
train
45
3130f902-147f-483e-b4c8-fa62c9595101
57
همکاری تیمی نتایج بهتری می‌دهد.
train
46
3130f902-147f-483e-b4c8-fa62c9595101
62
کتاب خوب دوست وفاداری است.
train
47
3130f902-147f-483e-b4c8-fa62c9595101
55
نقشه راه پژوهش باید روشن باشد.
train
48
3130f902-147f-483e-b4c8-fa62c9595101
52
آثار باستانی باید محافظت شوند.
train
49
3130f902-147f-483e-b4c8-fa62c9595101
5
چای داغ در عصر پاییزی لذت‌بخش است.
train
50
3130f902-147f-483e-b4c8-fa62c9595101
87
آزمایشگاه محل کشف‌های تازه است.
train
51
3130f902-147f-483e-b4c8-fa62c9595101
10
دانشگاه محل تبادل اندیشه است.
train
52
3130f902-147f-483e-b4c8-fa62c9595101
88
دفترچه یادداشت افکار را نگه می‌دارد.
train
53
3130f902-147f-483e-b4c8-fa62c9595101
51
سینما روایتگر قصه‌های انسانی است.
train
54
3130f902-147f-483e-b4c8-fa62c9595101
70
کوه دماوند نماد ایران است.
train
55
3130f902-147f-483e-b4c8-fa62c9595101
34
کاروانسراها در گذشته اهمیت داشتند.
train
56
3130f902-147f-483e-b4c8-fa62c9595101
59
فصل پاییز برگ‌ها زرد می‌شوند.
train
57
3130f902-147f-483e-b4c8-fa62c9595101
31
باران بهاری زمین را تازه می‌کند.
train
58
3130f902-147f-483e-b4c8-fa62c9595101
47
ربات‌ها کارهای تکراری را انجام می‌دهند.
train
59
3130f902-147f-483e-b4c8-fa62c9595101
58
صبر و پشتکار کلید موفقیت است.
train
60
3130f902-147f-483e-b4c8-fa62c9595101
46
جاده ابریشم مسیر تجارت بود.
train
61
3130f902-147f-483e-b4c8-fa62c9595101
84
صلح آرزوی همه انسان‌هاست.
train
62
3130f902-147f-483e-b4c8-fa62c9595101
93
یادگیری مادام‌العمر یک ضرورت است.
train
63
3130f902-147f-483e-b4c8-fa62c9595101
56
پرسشگری آغاز دانایی است.
train
64
3130f902-147f-483e-b4c8-fa62c9595101
29
هوش مصنوعی در پزشکی کاربرد دارد.
train
65
3130f902-147f-483e-b4c8-fa62c9595101
60
آینه حقیقت را بازمی‌تاباند.
train
66
3130f902-147f-483e-b4c8-fa62c9595101
78
بازارچه محلی محصولات تازه دارد.
train
67
3130f902-147f-483e-b4c8-fa62c9595101
90
باد خنک صورت را نوازش می‌دهد.
train
68
3130f902-147f-483e-b4c8-fa62c9595101
61
زمان با ارزش‌ترین دارایی انسان است.
train
69
3130f902-147f-483e-b4c8-fa62c9595101
3
کتابخانه محل آرامش من است.
train
70
3130f902-147f-483e-b4c8-fa62c9595101
30
دوستی واقعی در سختی‌ها شناخته می‌شود.
train
71
3130f902-147f-483e-b4c8-fa62c9595101
12
باید هر روز کمی ورزش کنیم.
train
72
3130f902-147f-483e-b4c8-fa62c9595101
69
خنده بهترین دارو است.
train
73
3130f902-147f-483e-b4c8-fa62c9595101
11
اینترنت دسترسی به دانش را آسان کرده است.
train
74
3130f902-147f-483e-b4c8-fa62c9595101
39
جشن نوروز هر سال برگزار می‌شود.
train
75
3130f902-147f-483e-b4c8-fa62c9595101
96
موج دریا شن‌ها را جابه‌جا می‌کند.
train
76
3130f902-147f-483e-b4c8-fa62c9595101
94
صبح زود بهترین زمان مطالعه است.
train
77
3130f902-147f-483e-b4c8-fa62c9595101
72
نوروز پیام‌آور نو شدن است.
train
78
3130f902-147f-483e-b4c8-fa62c9595101
43
گل‌ها در باغچه شکفته‌اند.
train
79
3130f902-147f-483e-b4c8-fa62c9595101
54
معلم خوب الهام‌بخش شاگردان است.
train
80
3130f902-147f-483e-b4c8-fa62c9595101
35
داده‌ها باید با دقت ذخیره شوند.
train
81
3130f902-147f-483e-b4c8-fa62c9595101
79
درخت کهنسال سایه گسترده‌ای دارد.
train
82
3130f902-147f-483e-b4c8-fa62c9595101
65
پاسداری از زبان فارسی وظیفه همگانی است.
train
83
3130f902-147f-483e-b4c8-fa62c9595101
66
موزه‌ها حافظه جمعی ما هستند.
train
84
3130f902-147f-483e-b4c8-fa62c9595101
85
مقدار کمی نمک طعم غذا را بهتر می‌کند.
train
85
3130f902-147f-483e-b4c8-fa62c9595101
64
تکنولوژی زندگی روزمره را دگرگون کرده است.
train
86
3130f902-147f-483e-b4c8-fa62c9595101
6
تاریخ ایران پر از رویدادهای مهم است.
train
87
3130f902-147f-483e-b4c8-fa62c9595101
86
شب‌های تابستان طولانی‌تر به نظر می‌رسند.
train
88
3130f902-147f-483e-b4c8-fa62c9595101
7
علم راه رسیدن به حقیقت را هموار می‌کند.
train
89
3130f902-147f-483e-b4c8-fa62c9595101
19
رودخانه آرام از میان دره می‌گذرد.
train
90
3130f902-147f-483e-b4c8-fa62c9595101
14
شعر فارسی گنجینه‌ای ارزشمند است.
train
91
3130f902-147f-483e-b4c8-fa62c9595101
36
خواب کافی برای سلامت لازم است.
train
92
3130f902-147f-483e-b4c8-fa62c9595101
41
امنیت اطلاعات بسیار مهم است.
train
93
3130f902-147f-483e-b4c8-fa62c9595101
8
فرهنگ هر ملت در زبان آن زنده می‌ماند.
train
94
3130f902-147f-483e-b4c8-fa62c9595101
42
پیاده‌روی عصرگاهی آرامش می‌آورد.
train
95
3130f902-147f-483e-b4c8-fa62c9595101
89
پل‌ها شهرها را به هم وصل می‌کنند.
train
96
3130f902-147f-483e-b4c8-fa62c9595101
13
ستاره‌ها در شب می‌درخشند.
train
97
3130f902-147f-483e-b4c8-fa62c9595101
95
قهوه تلخ انرژی صبحگاهی می‌دهد.
train
98
3130f902-147f-483e-b4c8-fa62c9595101
18
بازار قدیمی هنوز رونق دارد.
train
99
40478957-393e-4631-8508-e398cee8f943
32
فیزیک قوانین حرکت را توضیح می‌دهد.
train
100
40478957-393e-4631-8508-e398cee8f943
97
شعله شمع در باد می‌لرزد.
train
End of preview. Expand in Data Studio

DastKhat

Persian Handwritten Text Dataset

DastKhat (دستخط) is a Persian handwritten text dataset created for research and development in Optical Character Recognition (OCR) and Handwritten Text Recognition (HTR).

The dataset contains handwritten Persian sentences collected from multiple participants. Each participant wrote a collection of predefined Persian sentences, producing handwritten samples with different writing styles and characteristics.


Dataset Links

GitHub Repository

The GitHub repository contains the project's documentation, metadata, and data processing tools:

https://github.com/AmirRezaFarahmand/DastKhat

Hugging Face Dataset

This repository contains the actual handwritten image data and its associated metadata.

also checkout our website for more information on contributing to the project.


Dataset Contents

The dataset consists of handwritten Persian sentence images and metadata describing each sample.

Each sample contains:

Field Description
sample_id Unique identifier for the handwritten sample
participant_id Identifier of the participant who wrote the sample
image The handwritten image
sentence_id Identifier of the sentence
text Ground-truth Persian transcription
split Dataset split, such as train, validation, or test

A typical sample can be represented as:

{
    "sample_id": "000001",
    "participant_id": "participant_001",
    "image": <image>,
    "sentence_id": "000001",
    "text": "متن فارسی دست‌نویس",
    "split": "train"
}

Dataset Structure

The dataset is organized around handwritten sentence images.

Each image is associated with:

  • A unique sample identifier
  • The participant who wrote the sample
  • The sentence identifier
  • The original Persian text
  • A dataset split

The dataset is designed to preserve writer diversity, allowing models and experiments to work with handwriting from different individuals.


Data Collection

The data was collected from multiple participants.

Participants were provided with predefined Persian sentences and asked to write them by hand. The handwritten submissions were then processed into individual image samples.

The general data preparation process included:

  1. Collecting handwritten Persian samples
  2. Extracting handwritten regions from submitted documents
  3. Cropping individual sentence images
  4. Associating each image with its corresponding sentence
  5. Assigning participant identifiers
  6. Preparing metadata
  7. Organizing the final dataset

Why Writer Diversity Matters

Persian handwriting varies significantly between individuals.

Differences can occur in:

  • Letter shapes
  • Character connections
  • Word spacing
  • Writing size
  • Slant
  • Stroke structure
  • Pen pressure
  • Overall writing style

Because of this, datasets containing handwriting from multiple writers are important for developing recognition systems that generalize beyond a single person's handwriting.


Intended Uses

DastKhat can be used for:

  • Persian Handwritten Text Recognition (HTR)
  • Persian Optical Character Recognition (OCR)
  • Computer Vision
  • Deep Learning
  • Document Image Analysis
  • Writer Identification
  • Handwriting Style Analysis
  • Data Augmentation Research
  • Sequence Recognition

The dataset is particularly suitable for experiments involving image-to-text recognition of handwritten Persian sentences.


Loading the Dataset

You can load the dataset using the Hugging Face datasets library:

python -m pip install datasets
from datasets import load_dataset

dataset = load_dataset("MrFarahmand/DastKhat")

Inspect the dataset:

print(dataset)

Access a sample:

sample = dataset["train"][0]

print(sample)

the image can be accessed from the image field:

image = sample["image"]
text = sample["text"]

print(text)
image.show()

Dataset Splits

The dataset includes split information associated with the samples.

The available splits may include:

  • train
  • validation
  • test

The exact number of samples in each split may change as the dataset is expanded.

For the most up-to-date dataset statistics, please refer to the dataset viewer and dataset metadata on this page.


Limitations

DastKhat is an actively developing dataset.

Potential limitations include:

  • The number of participants may be limited compared to large-scale handwriting datasets.
  • The dataset currently focuses on handwritten Persian sentences.
  • Handwriting styles may not represent the full diversity of Persian handwriting.
  • Dataset size and composition may change as new samples are collected.

Users should consider these limitations when evaluating model performance.


Dataset Status

🚧 Active Development

The dataset may be expanded with:

  • Additional participants
  • More handwritten sentences
  • More writing styles
  • Improved metadata
  • Additional dataset splits
  • Improved quality control

License

Please refer to the license specified in the dataset repository for information about permitted use, modification, and redistribution.


Citation

If you use DastKhat in your research or project, please cite this dataset.

A formal citation will be added as the dataset reaches a stable release.


Acknowledgements

Special thanks to all participants who contributed their handwritten Persian samples.

Their contributions made the creation of the DastKhat dataset possible.


Maintainer

Amir Reza Farahmand

Downloads last month
609