Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
720
1.11k
ground_truth
stringclasses
5 values
{"gt_parse": {"menu": [{"nm": "Nasi Campur Bali", "cnt": "1 x", "price": "75,000"}, {"nm": "Bbk Bengil Nasi", "cnt": "1 x", "price": "125,000"}, {"nm": "MilkShake Starwb", "cnt": "1 x", "price": "37,000"}, {"nm": "Ice Lemon Tea", "cnt": "1 x", "price": "24,000"}, {"nm": "Nasi Ayam Dewata", "cnt": "1 x", "price": "70,00...
{"gt_parse": {"menu": [{"nm": "SPGTHY BOLOGNASE", "cnt": "1", "price": "58,000"}, {"nm": "PEPPER AUS", "cnt": "1", "price": "165,000", "sub": {"nm": "WELL DONE"}}, {"nm": "WAGYU RIBEYE", "cnt": "1", "price": "195,000", "sub": {"nm": "MEDIUM WELL"}}, {"nm": "ICED LEMON TEA", "cnt": "1", "price": "22,000"}, {"nm": "FUSIO...
{"gt_parse": {"menu": [{"nm": "HAKAU UDANG", "cnt": "4", "price": "92,000"}, {"nm": "SIAO MAI BABI", "cnt": "4", "price": "80,000"}, {"nm": "CEKER AYAM", "cnt": "3", "price": "60,000"}, {"nm": "BAKPAO BKR C CRISPY", "cnt": "2", "price": "42,000"}, {"nm": "TAHU GORENG CRISPY", "cnt": "3", "price": "60,000"}], "sub_total...
{"gt_parse": {"menu": [{"nm": "Bintang Bremer", "cnt": "1", "price": "59,000"}, {"nm": "Chicken H-H", "cnt": "1", "price": "190,000"}, {"nm": "Ades", "cnt": "1", "price": "10,000"}], "sub_total": {"subtotal_price": "259,000", "discount_price": "19,000", "service_price": "9,600", "tax_price": "52,416"}, "total": {"total...
{"gt_parse": {"menu": {"nm": "BASO BIHUN", "unitprice": "43.636", "cnt": "1", "price": "43.636"}, "sub_total": {"subtotal_price": "43.636", "tax_price": "4.364"}, "total": {"total_price": "48.000", "cashprice": "50.000", "changeprice": "2.000"}}, "meta": {"version": "2.0.0", "split": "train", "image_id": 4, "image_size...

parlarlax/tiny-cord

CORD (Consolidated Receipt Dataset) is a dataset for receipt understanding tasks. This dataset contains Indonesian restaurant receipts with structured annotations for menu items, prices, and text extraction with bounding boxes.

Dataset Details

Dataset Description

The CORD dataset contains receipt images and their corresponding structured annotations. Each example includes:

  • Receipt Image: High-resolution image of Indonesian restaurant receipts
  • Menu Items: Structured data with item names, quantities, and prices
  • Totals: Subtotal, service charges, taxes, and final total
  • Text Annotations: Detailed text extraction with bounding box coordinates

Dataset Structure

{
    'image': PIL.Image,
    'image_id': int,
    'image_size': {'width': int, 'height': int},
    'version': str,
    'split': str,
    'menu_items': [
        {'nm': str, 'cnt': str, 'price': str}, ...
    ],
    'totals': {
        'subtotal_price': str,
        'service_price': str, 
        'tax_price': str,
        'etc': str,
        'total_price': str
    },
    'text_annotations': [
        {
            'words': [{'text': str, 'bbox': [int, int, int, int], 'is_key': int}, ...],
            'category': str,
            'group_id': int,
            'sub_group_id': int
        }, ...
    ]
}

Supported Tasks

  • Receipt Understanding: Extract structured information from receipt images
  • OCR (Optical Character Recognition): Text extraction with spatial information
  • Information Extraction: Named entity recognition for receipt components
  • Document Layout Analysis: Understanding spatial relationships in receipts

Languages

The receipts contain text in:

  • Indonesian (primary language)
  • English (some menu items and labels)

Dataset Statistics

  • Number of examples: Varies based on available receipt images
  • Image dimensions: 864 x 1296 pixels
  • Average menu items per receipt: ~20-25 items
  • Text annotations include bounding boxes for precise localization

Dataset Creation

This dataset was created from receipt images and corresponding JSON annotations containing ground truth information about menu items, prices, and text locations.

Source Data

The source receipts are from Indonesian restaurants, primarily from the Bali region. All prices are in Indonesian Rupiah (IDR).

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("parlarlax/tiny-cord")

# Access an example
example = dataset['train'][0]
image = example['image']
menu_items = example['menu_items']
total_price = example['totals']['total_price']

Dataset Card Contact

For questions or issues regarding this dataset, please create an issue in the repository.

Downloads last month
54