CoolFace
Datasetpublic

arvindrajan92/sroie_document_understanding

Dataset Card for "sroie_document_understanding" Dataset Description This dataset is an enriched version of SROIE 2019 dataset with additional labels for line descriptions and line totals for OCR and layout understanding. Dataset Structure DatasetDict({ train: Dataset({ features: ['image', 'ocr'], num_rows: 652 }) }) Data Fields { 'image': PIL Image object, 'ocr': [ # text box 1 {… See the full description on the dataset page: https://huggingface.co/datasets/arvindrajan92/sroie_document_understanding.

sourceHugging Facemitupdated 4y agoView on Hugging Face
4likes141downloads
Dataset Card

Dataset Card for "sroiedocumentunderstanding"

Table of Contents

Dataset Description

This dataset is an enriched version of SROIE 2019 dataset with additional labels for line descriptions and line totals for OCR and layout understanding.

Dataset Structure

python
DatasetDict({
    train: Dataset({
        features: ['image', 'ocr'],
        num_rows: 652
    })
})

Data Fields

python
{
    'image': PIL Image object,
    'ocr': [
        #  text box 1
        {
            'box': [[float, float], [float, float], [float, float], [float, float]],
			'label': str,  # "other" | "company" | "address" | "date" | "line_description" | "line_total" | "total"
			'text': str
        },
            ...
        #  text box N
		{
            'box': [[float, float], [float, float], [float, float], [float, float]],
			'label': str,
			'text': str,
        }
    ]
}

Dataset Creation

Source Data

The dataset was obtained from ICDAR2019 Competition on Scanned Receipt OCR and Information Extraction

Annotations

Annotation process

Additional labels to receipt line items were added using open source labelme tool.

Who are the annotators?

Arvind Rajan (adding labels to the original text boxes from source)

Additional Information

Licensing Information

MIT License

Contributions

Thanks to @arvindrajan92 for adding this dataset.