Datasets:
image imagewidth (px) 36 1.74k | label stringclasses 9
values | writing_tool stringclasses 5
values | text stringlengths 1 26 |
|---|---|---|---|
clean | ballpoint | Rocks | |
clean | ballpoint | also | |
clean | ballpoint | Republican | |
clean | ballpoint | for | |
clean | ballpoint | mayor | |
clean | ballpoint | in | |
clean | ballpoint | 1995, | |
clean | ballpoint | to | |
clean | ballpoint | incumbent | |
clean | ballpoint | Ed | |
clean | ballpoint | Rendell. | |
clean | digital_gray | The | |
clean | digital_gray | tower | |
clean | digital_gray | twenty-two | |
clean | digital_gray | stories, | |
clean | digital_gray | including | |
clean | digital_gray | double | |
clean | digital_gray | floor- | |
clean | digital_gray | plus | |
clean | digital_gray | two | |
clean | digital_gray | basement | |
clean | digital_gray | floor. | |
clean | digital_black | The | |
clean | digital_black | was | |
clean | digital_black | realised | |
clean | digital_black | in | |
clean | digital_black | the | |
clean | ballpoint | as | |
clean | ballpoint | 'Hall | |
clean | ballpoint | in | |
clean | ballpoint | th | |
clean | ballpoint | century | |
clean | ballpoint | after | |
clean | ballpoint | Hall | |
clean | ballpoint | it | |
clean | ballpoint | and | |
clean | ballpoint | important | |
clean | ballpoint | this | |
clean | ballpoint | include | |
clean | ballpoint | Cardinal | |
clean | ballpoint | Wolsey | |
clean | ballpoint | and | |
clean | ballpoint | Margaret | |
clean | ballpoint | Tudor, | |
clean | ballpoint | Queen | |
clean | ballpoint | of | |
clean | ballpoint | Scots. | |
clean | ballpoint | Relative | |
clean | ballpoint | nation, | |
clean | ballpoint | Vermont | |
clean | ballpoint | would | |
clean | ballpoint | trend | |
clean | ballpoint | 17 | |
clean | ballpoint | points | |
clean | ballpoint | Maine | |
clean | ballpoint | Would | |
clean | ballpoint | Democratic | |
clean | ballpoint | over | |
clean | ballpoint | 9 | |
clean | ballpoint | points | |
clean | ballpoint | in | |
clean | ballpoint | the | |
clean | ballpoint | election. | |
clean | ballpoint | The | |
clean | ballpoint | town | |
clean | ballpoint | is | |
clean | ballpoint | by | |
clean | ballpoint | day | |
clean | ballpoint | her | |
clean | ballpoint | of | |
clean | ballpoint | best | |
clean | ballpoint | living | |
clean | ballpoint | printmakers | |
clean | ballpoint | and | |
clean | ballpoint | a | |
clean | ballpoint | critic | |
clean | ballpoint | said | |
clean | ballpoint | she | |
clean | ballpoint | was | |
clean | ballpoint | of | |
clean | ballpoint | the | |
clean | ballpoint | foremost | |
clean | ballpoint | in | |
clean | ballpoint | United | |
clean | digital_black | The | |
clean | digital_black | company | |
clean | digital_black | has | |
clean | digital_black | offices | |
clean | digital_black | Europe, | |
clean | digital_black | Latin | |
clean | digital_black | America | |
clean | digital_black | and | |
clean | ballpoint | The | |
clean | ballpoint | club | |
clean | ballpoint | was | |
clean | ballpoint | founded | |
clean | ballpoint | 2000 | |
clean | ballpoint | and | |
clean | ballpoint | currently | |
clean | ballpoint | the |
HTR with Cross-out Words Dataset
Overview
This dataset consists of handwritten word images produced by 12 different authors. It includes both clean (non-crossed-out) samples and crossed-out words, making it suitable for multiple handwriting-related research tasks.
The dataset introduces 7 distinct cross-out types, along with a mixed subset that combines clean samples and randomly selected examples from different cross-out categories. This design supports both binary and multi-class classification scenarios.
Each word image is annotated with:
- Cross-out label (
label): one of "clean", "single-line", "double-line", "diagonal", "cross", "wave", "zig-zag", "scratch", or "mix" - Writing tool (
writing_tool): one of "ballpoint", "digital_black", "digital_gray", "marker", or "pencil" - Transcription (
text): ground truth text
Dataset Structure
Each sample in the dataset contains:
image: Handwritten word imagelabel: Label indicating clean or cross-out typewriting_tool: Writing instrument usedtext: Ground truth transcription
The dataset is structured as a multi-task dataset, enabling flexible use across different tasks.
Usage
The sample code below demonstrates how to download the dataset and load the first image from the training set.
from datasets import load_dataset
from PIL import Image
import matplotlib.pyplot as plt
dataset = load_dataset("wahlinski/handwritten_cross-outs")
print(dataset)
sample = dataset["train"][0]
print(sample)
plt.imshow(sample['image'])
plt.axis("off")
plt.title(sample["label"])
plt.show()
Cross-out Categories
The dataset includes the following categories:
- 7 distinct cross-out types: single-line, double-line, diagonal, cross, wave, zig-zag, scratch
- Clean: non-crossed-out samples
- Mixed: combination of clean and randomly sampled cross-out instances
Tasks and Use Cases
This dataset can be used for:
1. Binary Classification
- Clean vs. Crossed-out (e.g., using clean and mixed subsets)
2. Multi-class Classification
- Classification of the 7 cross-out types
3. Writing Tool Classification
- Predicting the writing instrument used
4. Handwritten Text Recognition (HTR)
- Training models using the provided transcriptions
Research Context
This dataset is introduced in the paper:
"A Study of Handwritten Text Recognition with Cross-out Words"
If you use this dataset in your research, please cite the following:
Citation details will be added upon publication.
Notes
- The dataset includes variability across writers and writing tools.
- Cross-out variations introduce realistic challenges for document analysis systems.
- Suitable for both academic research and benchmarking.
Contact
For questions or collaboration, please contact:
- Downloads last month
- 20,615