willywongi/donut 🖼️ → 📝

▶️ 2.2K runs 📅 Apr 2023 ⚙️ Cog 0.6.1 🔗 GitHub 📄 Paper ⚖️ License
document-to-json ocr receipt-parsing

About

Extract structured data from receipt images using Donut 🍩 (Document Understanding Transformer)

Example Output

Output

{'menu': [{'nm': 'ICE BLAOKCOFFE', 'cnt': '2', 'price': '82,000'}, {'nm': 'AVOCADO COFFEE', 'cnt': '1', 'price': '61,000'}, {'nm': 'Oud CHINEN KATSU FF', 'cnt': '1', 'price': '51,000'}], 'sub_total': {'subtotal_price': '194,000', 'discount_price': '19,400'}, 'total': {'total_price': '174,600', 'cashprice': '200,000', 'changeprice': '25,400'}}

Performance Metrics

1.08s Prediction Time
1.35s Total Time
Input Parameters
image (required) Type: string
Input image
Output Schema

Output

Type: string

Version Details
Version ID
6bdf3a5790f9cdf491e995a659563c3dcbe94d929e89216486e8fe3f909f4716
Version Created
April 19, 2023
Run on Replicate →