johnlockejrr commited on
Commit
bd795bd
·
verified ·
1 Parent(s): 4bfc81d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -3
README.md CHANGED
@@ -1,3 +1,84 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - ar
5
+ task_categories:
6
+ - image-to-text
7
+ pretty_name: KHATT_v1.0
8
+ dataset_info:
9
+ features:
10
+ - name: image
11
+ dtype: image
12
+ - name: text
13
+ dtype: string
14
+ splits:
15
+ - name: train
16
+ num_examples: 4672
17
+ - name: validation
18
+ num_examples: 963
19
+ - name: test
20
+ num_examples: 1038
21
+ dataset_size: 220M
22
+ tags:
23
+ - atr
24
+ - htr
25
+ - ocr
26
+ - historical
27
+ - handwritten
28
+ - arabic
29
+ ---
30
+
31
+ # Samaritan v1 - line level
32
+
33
+ ## Table of Contents
34
+ - [KHATT_v1.0 - line level](#KHATT_v1.0_dataset)
35
+ - [Table of Contents](#table-of-contents)
36
+ - [Dataset Description](#dataset-description)
37
+ - [Languages](#languages)
38
+ - [Dataset Structure](#dataset-structure)
39
+ - [Data Instances](#data-instances)
40
+ - [Data Fields](#data-fields)
41
+
42
+ ## Dataset Description
43
+
44
+ - **Homepage:** [johnlockejrr's personal project](https://huggingface.co/datasets/johnlockejrr/KHATT_v1.0_dataset)
45
+
46
+ ## Dataset Summary
47
+
48
+ KHATT (KFUPM Handwritten Arabic TexT) database is a database of unconstrained handwritten Arabic Text written by 1000 different writers. This research database’s development was undertaken by a research group from KFUPM, Dhahran, S audi Arabia headed by Professor Sabri Mahmoud in collaboration with Professor Fink from TU-Dortmund, Germany and Dr. Märgner from TU-Braunschweig, Germany.
49
+
50
+ The database includes 2000 similar-text paragraph images and 2000 unique-text paragraph images and their extracted text line images. The images are accompanied with manually verified ground-truth and Latin representation of the ground-truth. The database can be used in various handwriting recognition related researches like, but not limited to, text recognition, and writer identification. Interested readers can refer to the paper [1], and [2] for more details on the database. The version 1.0 of the KHATT database is available free of charge (for academic and research purposes) to the researchers.
51
+
52
+ Database Overview:
53
+
54
+ - Forms written by 1000 different writers.
55
+ - Scanned at different resolutions (200, 300, and 600 DPIs).
56
+ - Writers are from different countries, gender, age groups, handedness and education level.
57
+ - Natural writings with unrestricted writing styles.
58
+ - 2000 unique paragraph images and their segmented line images (source text from different topics like arts, education, health, nature, technology).
59
+ - 2000 paragraph images containing similar text, each covering all Arabic characters and shapes and their segmented line images.
60
+ - Free paragraphs written by writers on any topic of their choice.
61
+ - Paragraph and line images are supplied with manually verified ground-truths.
62
+ - The database divided into three disjoint sets viz. training (70%), validation (15%), and testing (15%).
63
+ - Promote research in areas like writer identification, line segmentation, and binarization and noise removal techniques beside handwritten text recognition.
64
+
65
+ ### Languages
66
+
67
+ All the documents in the dataset are written in Arabic.
68
+
69
+ ## Dataset Structure
70
+
71
+ ### Data Instances
72
+
73
+ ```
74
+ {
75
+ 'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4300x128 at 0x1A800E8E190,
76
+ 'text': 'رفاظ قيار يؤل نب فوؤر هبحصب ماغرض رفظم حون بهذ'
77
+ }
78
+ ```
79
+
80
+ ### Data Fields
81
+
82
+
83
+ - `image`: a PIL.Image.Image object containing the image. Note that when accessing the image column (using dataset[0]["image"]), the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["image"] should always be preferred over dataset["image"][0].
84
+ - `text`: the label transcription of the image. The text was intentionally flipped from RTL to LTR because of PyLaia library limitation to LTR.