FR Demo

Synthetic receipts

How training pictures are made when real receipts cannot be shared.

Generator

How a training picture is madeOne real receipt from the generator: printed, faded, folded, crumpled, photographed on a table, and labelled word by word.InventPrintFadeFoldCrumplePhotographLabelLabelLabelled80 words boxed. 153 of 461characters can no longer beread.shop: SUPER TESTriz basmati 1kg: 8.64pq x12 rouleaux: 5.08beurre doux 250g: 4.96…total: 27.26Known from the start
How a training picture is madeOne real receipt from the generator: printed, faded, folded, crumpled, photographed on a table, and labelled word by word.InventPrintFadeFoldCrumplePhotographLabelLabelLabelled80 words boxed. 153 of 461 characters canno longer be read.

Damage

  • UntouchedUntouchedwhat the right answers describe
  • FadedFadedthermal ink fades unevenly
  • WrinkledWrinkledlong creases break the ink
  • CrumpledCrumpledmany short creases and a rough surface
  • CurledCurledbands of light and shade
  • FoldedFoldedstraight folds with a lit and a shaded side
  • Cut and tornCut and tornslits from the sides, an end torn off
  • Stains and penStains and penrubbed ink, coffee, pen marks
  • Poor cameraPoor camerashadow, glare, blur, noise

Mix them in the generator →

Labels

A damaged receipt with a box around every word and unreadable characters in red
Text
every line, word and character, with its position
Values
lines, discounts, tax table and total
Readability
for each character, whether it can still be read
Pairs
a clean and a damaged version of the same receipt

Datasets

DatasetContentUsed forLicence
My generatorFrench receipts with known answerstraining the vision modelsown
CORD v2Photos of real receiptstesting on real imagesCC BY 4.0
synthetic-receipts-ocrGenerated receipt imagesmore test imagesApache-2.0
Open Food FactsNames of food productstraining product recognitionODbL

Limit

Models do better on generated receipts than on real ones. The line detector shows it most.