Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,110 +1,110 @@
|
|
| 1 |
-
---
|
| 2 |
-
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: image
|
| 5 |
-
dtype: image
|
| 6 |
-
- name: text
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: style
|
| 9 |
-
dtype: string
|
| 10 |
-
splits:
|
| 11 |
-
- name: train
|
| 12 |
-
num_bytes: 12777680156
|
| 13 |
-
num_examples: 1300000
|
| 14 |
-
- name: noisy_Bg
|
| 15 |
-
num_bytes: 564270458
|
| 16 |
-
num_examples: 100000
|
| 17 |
-
- name: parabolic_text
|
| 18 |
-
num_bytes: 964652903
|
| 19 |
-
num_examples: 100000
|
| 20 |
-
- name: parabolic_text_blur
|
| 21 |
-
num_bytes: 1036157860
|
| 22 |
-
num_examples: 100000
|
| 23 |
-
- name: parabolic_text_shadow
|
| 24 |
-
num_bytes: 1164050759
|
| 25 |
-
num_examples: 100000
|
| 26 |
-
- name: plain_text
|
| 27 |
-
num_bytes: 481267597
|
| 28 |
-
num_examples: 100000
|
| 29 |
-
- name: plain_text_blur
|
| 30 |
-
num_bytes: 691000068
|
| 31 |
-
num_examples: 100000
|
| 32 |
-
- name: plain_text_complex_bg
|
| 33 |
-
num_bytes: 3899110442
|
| 34 |
-
num_examples: 100000
|
| 35 |
-
- name: plain_text_darkness
|
| 36 |
-
num_bytes: 347759418
|
| 37 |
-
num_examples: 100000
|
| 38 |
-
- name: plain_text_shadow
|
| 39 |
-
num_bytes: 818234147
|
| 40 |
-
num_examples: 100000
|
| 41 |
-
- name: sine_text
|
| 42 |
-
num_bytes: 325560397
|
| 43 |
-
num_examples: 100000
|
| 44 |
-
- name: sine_text_blur
|
| 45 |
-
num_bytes: 1081370287
|
| 46 |
-
num_examples: 100000
|
| 47 |
-
- name: sine_text_darkness
|
| 48 |
-
num_bytes: 1277542234
|
| 49 |
-
num_examples: 100000
|
| 50 |
-
- name: white_noise
|
| 51 |
-
num_bytes: 471704986
|
| 52 |
-
num_examples: 100000
|
| 53 |
-
download_size: 25905171625
|
| 54 |
-
dataset_size: 25900361712
|
| 55 |
-
configs:
|
| 56 |
-
- config_name: default
|
| 57 |
-
data_files:
|
| 58 |
-
- split: train
|
| 59 |
-
path: data/train-*
|
| 60 |
-
- split: noisy_Bg
|
| 61 |
-
path: data/noisy_Bg-*
|
| 62 |
-
- split: parabolic_text
|
| 63 |
-
path: data/parabolic_text-*
|
| 64 |
-
- split: parabolic_text_blur
|
| 65 |
-
path: data/parabolic_text_blur-*
|
| 66 |
-
- split: parabolic_text_shadow
|
| 67 |
-
path: data/parabolic_text_shadow-*
|
| 68 |
-
- split: plain_text
|
| 69 |
-
path: data/plain_text-*
|
| 70 |
-
- split: plain_text_blur
|
| 71 |
-
path: data/plain_text_blur-*
|
| 72 |
-
- split: plain_text_complex_bg
|
| 73 |
-
path: data/plain_text_complex_bg-*
|
| 74 |
-
- split: plain_text_darkness
|
| 75 |
-
path: data/plain_text_darkness-*
|
| 76 |
-
- split: plain_text_shadow
|
| 77 |
-
path: data/plain_text_shadow-*
|
| 78 |
-
- split: sine_text
|
| 79 |
-
path: data/sine_text-*
|
| 80 |
-
- split: sine_text_blur
|
| 81 |
-
path: data/sine_text_blur-*
|
| 82 |
-
- split: sine_text_darkness
|
| 83 |
-
path: data/sine_text_darkness-*
|
| 84 |
-
- split: white_noise
|
| 85 |
-
path: data/white_noise-*
|
| 86 |
-
license: cc-by-4.0
|
| 87 |
-
task_categories:
|
| 88 |
-
- image-to-text
|
| 89 |
-
language:
|
| 90 |
-
- fa
|
| 91 |
-
- ar
|
| 92 |
-
tags:
|
| 93 |
-
- OCR
|
| 94 |
-
- optical-character-recognition
|
| 95 |
-
- text-recognition
|
| 96 |
-
- image-to-text
|
| 97 |
-
- persian
|
| 98 |
-
- farsi
|
| 99 |
-
- persian-ocr
|
| 100 |
-
- synthetic
|
| 101 |
-
- computer-vision
|
| 102 |
-
- deep-learning
|
| 103 |
-
- persian-OCR
|
| 104 |
-
pretty_name: 'Garshasp-70C: Persian Synthetic OCR Dataset'
|
| 105 |
-
size_categories:
|
| 106 |
-
- 1M<n<10M
|
| 107 |
-
---
|
| 108 |
# Persian OCR Garshasp: Large-Scale Synthetic Persian OCR Dataset
|
| 109 |
|
| 110 |
**Persian-OCR-Garshasp** is a large-scale **Persian (Farsi) OCR** dataset containing about **2.6M image–text pairs**.
|
|
@@ -205,8 +205,6 @@ You can:
|
|
| 205 |
|
| 206 |
### Text
|
| 207 |
|
| 208 |
-
- **Text source**: TODO – briefly describe where the Persian text comes from
|
| 209 |
-
(e.g. news articles, web crawl, books, internal corpus, etc.).
|
| 210 |
- **Text length**:
|
| 211 |
- Each sample contains at most **70 characters**.
|
| 212 |
- **Preprocessing** (recommended, if applicable):
|
|
@@ -367,25 +365,6 @@ Not recommended for:
|
|
| 367 |
|
| 368 |
---
|
| 369 |
|
| 370 |
-
## Limitations
|
| 371 |
-
|
| 372 |
-
* The dataset is **synthetic**, so models trained only on this data might not fully capture:
|
| 373 |
-
|
| 374 |
-
* camera motion blur,
|
| 375 |
-
* lens distortion and compression artifacts,
|
| 376 |
-
* handwriting and highly stylized typography.
|
| 377 |
-
* Text distribution follows the underlying corpus (e.g. news / web / etc., depending on your source)
|
| 378 |
-
and may not be representative of all domains of Persian (e.g. social media, poetry, dialects).
|
| 379 |
-
* The text may contain:
|
| 380 |
-
|
| 381 |
-
* named entities (persons, locations, organizations),
|
| 382 |
-
* politically or socially sensitive content inherited from the source corpus,
|
| 383 |
-
* occasional noise or typos.
|
| 384 |
-
|
| 385 |
-
Users should consider fine-tuning on **real-world Persian OCR datasets** for production use.
|
| 386 |
-
|
| 387 |
-
---
|
| 388 |
-
|
| 389 |
## License
|
| 390 |
|
| 391 |
This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
|
|
@@ -411,11 +390,11 @@ https://creativecommons.org/licenses/by/4.0/
|
|
| 411 |
If you use **Persian OCR Garshasp** in your research or product, please cite:
|
| 412 |
|
| 413 |
```bibtex
|
| 414 |
-
@
|
| 415 |
title = {Persian OCR Garshasp: Large-Scale Synthetic OCR Dataset for Persian (Farsi)},
|
| 416 |
-
author = {Shafiee, Ali
|
| 417 |
year = {2025},
|
| 418 |
-
howpublished = {\url{https://huggingface.co/datasets/AliShafiee2003/persian-ocr-garshasp}},
|
| 419 |
note = {Version 1.0},
|
| 420 |
}
|
| 421 |
```
|
|
@@ -424,13 +403,6 @@ If you use **Persian OCR Garshasp** in your research or product, please cite:
|
|
| 424 |
|
| 425 |
---
|
| 426 |
|
| 427 |
-
## Acknowledgements
|
| 428 |
-
|
| 429 |
-
* TODO: Acknowledge collaborators, institutions, or organizations that helped build this dataset.
|
| 430 |
-
* TODO: Acknowledge any upstream corpora or datasets used as text sources.
|
| 431 |
-
|
| 432 |
-
---
|
| 433 |
-
|
| 434 |
## خلاصه فارسی
|
| 435 |
|
| 436 |
**Persian-OCR-Garshasp** یک دیتاست بزرگ برای **OCR فارسی** است که حدود **۲.۶ میلیون** جفت تصویر–متن دارد.
|
|
@@ -445,11 +417,7 @@ If you use **Persian OCR Garshasp** in your research or product, please cite:
|
|
| 445 |
مدلهای تشخیص متن فارسی، و همینطور پیشآموزش مدلها قبل از فاینتیون روی دیتای واقعی استفاده کرد.
|
| 446 |
|
| 447 |
|
| 448 |
-
این دیتاست تحت لایسنس **CC BY 4.0** منتشر شده است. یعنی
|
| 449 |
-
|
| 450 |
-
- هر کسی میتواند دیتاست را برای **هر نوع استفادهای (حتی تجاری)** دانلود و استفاده کند.
|
| 451 |
-
- میتواند آن را تغییر دهد، با دیتاستهای دیگر ترکیب کند و در پروژهها / محصولات خود به کار ببرد.
|
| 452 |
-
- تنها شرط این است که به **سازندهٔ دیتاست (مثلاً لینک به صفحهٔ Hugging Face و نام شما)** بهطور معقول اشاره شود.
|
| 453 |
|
| 454 |
---
|
| 455 |
|
|
@@ -459,6 +427,3 @@ persian ocr, farsi ocr, persian text recognition, farsi text recognition, persia
|
|
| 459 |
arabic script ocr, persian dataset, farsi dataset, synthetic ocr dataset, image to text, scene text recognition,
|
| 460 |
document text recognition, persian news text, persian image text pairs, 48x640 images, noisy text images, sine text,
|
| 461 |
parabolic text, white noise, shadow, blur, dark images, complex background, persian computer vision, persian deep learning
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
[1]: https://huggingface.co/datasets/AliShafiee2003/persian-ocr-garshasp "AliShafiee2003/persian-ocr-garshasp · Datasets at Hugging Face"
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: image
|
| 5 |
+
dtype: image
|
| 6 |
+
- name: text
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: style
|
| 9 |
+
dtype: string
|
| 10 |
+
splits:
|
| 11 |
+
- name: train
|
| 12 |
+
num_bytes: 12777680156
|
| 13 |
+
num_examples: 1300000
|
| 14 |
+
- name: noisy_Bg
|
| 15 |
+
num_bytes: 564270458
|
| 16 |
+
num_examples: 100000
|
| 17 |
+
- name: parabolic_text
|
| 18 |
+
num_bytes: 964652903
|
| 19 |
+
num_examples: 100000
|
| 20 |
+
- name: parabolic_text_blur
|
| 21 |
+
num_bytes: 1036157860
|
| 22 |
+
num_examples: 100000
|
| 23 |
+
- name: parabolic_text_shadow
|
| 24 |
+
num_bytes: 1164050759
|
| 25 |
+
num_examples: 100000
|
| 26 |
+
- name: plain_text
|
| 27 |
+
num_bytes: 481267597
|
| 28 |
+
num_examples: 100000
|
| 29 |
+
- name: plain_text_blur
|
| 30 |
+
num_bytes: 691000068
|
| 31 |
+
num_examples: 100000
|
| 32 |
+
- name: plain_text_complex_bg
|
| 33 |
+
num_bytes: 3899110442
|
| 34 |
+
num_examples: 100000
|
| 35 |
+
- name: plain_text_darkness
|
| 36 |
+
num_bytes: 347759418
|
| 37 |
+
num_examples: 100000
|
| 38 |
+
- name: plain_text_shadow
|
| 39 |
+
num_bytes: 818234147
|
| 40 |
+
num_examples: 100000
|
| 41 |
+
- name: sine_text
|
| 42 |
+
num_bytes: 325560397
|
| 43 |
+
num_examples: 100000
|
| 44 |
+
- name: sine_text_blur
|
| 45 |
+
num_bytes: 1081370287
|
| 46 |
+
num_examples: 100000
|
| 47 |
+
- name: sine_text_darkness
|
| 48 |
+
num_bytes: 1277542234
|
| 49 |
+
num_examples: 100000
|
| 50 |
+
- name: white_noise
|
| 51 |
+
num_bytes: 471704986
|
| 52 |
+
num_examples: 100000
|
| 53 |
+
download_size: 25905171625
|
| 54 |
+
dataset_size: 25900361712
|
| 55 |
+
configs:
|
| 56 |
+
- config_name: default
|
| 57 |
+
data_files:
|
| 58 |
+
- split: train
|
| 59 |
+
path: data/train-*
|
| 60 |
+
- split: noisy_Bg
|
| 61 |
+
path: data/noisy_Bg-*
|
| 62 |
+
- split: parabolic_text
|
| 63 |
+
path: data/parabolic_text-*
|
| 64 |
+
- split: parabolic_text_blur
|
| 65 |
+
path: data/parabolic_text_blur-*
|
| 66 |
+
- split: parabolic_text_shadow
|
| 67 |
+
path: data/parabolic_text_shadow-*
|
| 68 |
+
- split: plain_text
|
| 69 |
+
path: data/plain_text-*
|
| 70 |
+
- split: plain_text_blur
|
| 71 |
+
path: data/plain_text_blur-*
|
| 72 |
+
- split: plain_text_complex_bg
|
| 73 |
+
path: data/plain_text_complex_bg-*
|
| 74 |
+
- split: plain_text_darkness
|
| 75 |
+
path: data/plain_text_darkness-*
|
| 76 |
+
- split: plain_text_shadow
|
| 77 |
+
path: data/plain_text_shadow-*
|
| 78 |
+
- split: sine_text
|
| 79 |
+
path: data/sine_text-*
|
| 80 |
+
- split: sine_text_blur
|
| 81 |
+
path: data/sine_text_blur-*
|
| 82 |
+
- split: sine_text_darkness
|
| 83 |
+
path: data/sine_text_darkness-*
|
| 84 |
+
- split: white_noise
|
| 85 |
+
path: data/white_noise-*
|
| 86 |
+
license: cc-by-4.0
|
| 87 |
+
task_categories:
|
| 88 |
+
- image-to-text
|
| 89 |
+
language:
|
| 90 |
+
- fa
|
| 91 |
+
- ar
|
| 92 |
+
tags:
|
| 93 |
+
- OCR
|
| 94 |
+
- optical-character-recognition
|
| 95 |
+
- text-recognition
|
| 96 |
+
- image-to-text
|
| 97 |
+
- persian
|
| 98 |
+
- farsi
|
| 99 |
+
- persian-ocr
|
| 100 |
+
- synthetic
|
| 101 |
+
- computer-vision
|
| 102 |
+
- deep-learning
|
| 103 |
+
- persian-OCR
|
| 104 |
+
pretty_name: 'Garshasp-70C: Persian Synthetic OCR Dataset'
|
| 105 |
+
size_categories:
|
| 106 |
+
- 1M<n<10M
|
| 107 |
+
---
|
| 108 |
# Persian OCR Garshasp: Large-Scale Synthetic Persian OCR Dataset
|
| 109 |
|
| 110 |
**Persian-OCR-Garshasp** is a large-scale **Persian (Farsi) OCR** dataset containing about **2.6M image–text pairs**.
|
|
|
|
| 205 |
|
| 206 |
### Text
|
| 207 |
|
|
|
|
|
|
|
| 208 |
- **Text length**:
|
| 209 |
- Each sample contains at most **70 characters**.
|
| 210 |
- **Preprocessing** (recommended, if applicable):
|
|
|
|
| 365 |
|
| 366 |
---
|
| 367 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 368 |
## License
|
| 369 |
|
| 370 |
This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
|
|
|
|
| 390 |
If you use **Persian OCR Garshasp** in your research or product, please cite:
|
| 391 |
|
| 392 |
```bibtex
|
| 393 |
+
@misc{persian_ocr_garshasp,
|
| 394 |
title = {Persian OCR Garshasp: Large-Scale Synthetic OCR Dataset for Persian (Farsi)},
|
| 395 |
+
author = {Shafiee, Ali},
|
| 396 |
year = {2025},
|
| 397 |
+
howpublished = {\url{https://huggingface.co/datasets/AliShafiee2003/persian-ocr-garshasp-70c}},
|
| 398 |
note = {Version 1.0},
|
| 399 |
}
|
| 400 |
```
|
|
|
|
| 403 |
|
| 404 |
---
|
| 405 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
## خلاصه فارسی
|
| 407 |
|
| 408 |
**Persian-OCR-Garshasp** یک دیتاست بزرگ برای **OCR فارسی** است که حدود **۲.۶ میلیون** جفت تصویر–متن دارد.
|
|
|
|
| 417 |
مدلهای تشخیص متن فارسی، و همینطور پیشآموزش مدلها قبل از فاینتیون روی دیتای واقعی استفاده کرد.
|
| 418 |
|
| 419 |
|
| 420 |
+
این دیتاست تحت لایسنس **CC BY 4.0** منتشر شده است. یعنی.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 421 |
|
| 422 |
---
|
| 423 |
|
|
|
|
| 427 |
arabic script ocr, persian dataset, farsi dataset, synthetic ocr dataset, image to text, scene text recognition,
|
| 428 |
document text recognition, persian news text, persian image text pairs, 48x640 images, noisy text images, sine text,
|
| 429 |
parabolic text, white noise, shadow, blur, dark images, complex background, persian computer vision, persian deep learning
|
|
|
|
|
|
|
|
|