Canonical sample

dt-e4b18ddc1406a47aa4694d05

Seed
10850
Template
invoice-studio-note-v1
Renderer
pillow-opencv-v0.5.0-physical-assets-v1
Recipe
bad_phone_photo

Exact recipe

[
  {
    "condition": "perspective",
    "parameters": {
      "corner_offset_fraction": 0.07394,
      "frame_scale": 0.36
    },
    "severity": 0.711
  },
  {
    "condition": "low_light",
    "parameters": {
      "gain": 0.4516,
      "shot_noise_sigma": 25.7186
    },
    "severity": 0.7834
  },
  {
    "condition": "shadow",
    "parameters": {
      "edge_softness_px": 89,
      "opacity": 0.6598
    },
    "severity": 0.7161
  },
  {
    "condition": "noise",
    "parameters": {
      "gaussian_sigma": 21.2678
    },
    "severity": 0.5667
  },
  {
    "condition": "jpeg",
    "parameters": {
      "quality": 49
    },
    "severity": 0.6278
  }
]

Quality metrics

{
  "blur_laplacian_variance": 3963.3006,
  "brightness_mean": 63.4302,
  "brightness_std": 29.0775,
  "contrast_rms": 29.0775,
  "damage_coverage": 1,
  "document_area_fraction": 0.962571,
  "edge_distortion": 0.043241,
  "glare_coverage": 0,
  "mean_color_shift": 181.4111,
  "shadow_coverage": 0.317989
}

OCR output + metrics

{
  "engine": "tesseract",
  "engine_version": "5.5.0",
  "exit_code": 0,
  "field_metrics": {
    "date_field_accuracy": 0,
    "field_exact_match": 0.028571,
    "field_normalized_match": 0.028571,
    "matched_fields": 1,
    "numeric_field_accuracy": 0.045455,
    "total_fields": 35
  },
  "field_results": [
    {
      "exact_match": false,
      "field_id": "currency",
      "field_type": "currency",
      "normalized_match": false,
      "value": "EUR"
    },
    {
      "exact_match": false,
      "field_id": "customer_address",
      "field_type": "customer_address",
      "normalized_match": false,
      "value": "27 Crescent Yard, Manchester M1 2AB"
    },
    {
      "exact_match": false,
      "field_id": "customer_name",
      "field_type": "customer_name",
      "normalized_match": false,
      "value": "Juniper Claims Studio"
    },
    {
      "exact_match": false,
      "field_id": "discount",
      "field_type": "discount",
      "normalized_match": false,
      "value": "€0.00"
    },
    {
      "exact_match": false,
      "field_id": "due_date",
      "field_type": "due_date",
      "normalized_match": false,
      "value": "2026-06-27"
    },
    {
      "exact_match": false,
      "field_id": "invoice_date",
      "field_type": "invoice_date",
      "normalized_match": false,
      "value": "2026-06-06"
    },
    {
      "exact_match": false,
      "field_id": "invoice_number",
      "field_type": "invoice_number",
      "normalized_match": false,
      "value": "K26-804515"
    },
    {
      "exact_match": false,
      "field_id": "line_item_header",
      "field_type": "line_item_header",
      "normalized_match": false,
      "value": "AMOUNT"
    },
    {
      "exact_match": false,
      "field_id": "payment_terms",
      "field_type": "payment_terms",
      "normalized_match": false,
      "value": "Net 21"
    },
    {
      "exact_match": false,
      "field_id": "shipping",
      "field_type": "shipping",
      "normalized_match": false,
      "value": "€0.00"
    },
    {
      "exact_match": false,
      "field_id": "subtotal",
      "field_type": "subtotal",
      "normalized_match": false,
      "value": "€3,332.16"
    },
    {
      "exact_match": false,
      "field_id": "supplier_address",
      "field_type": "supplier_address",
      "normalized_match": false,
      "value": "18 Hawthorn Row, Bristol BS1 4DJ"
    },
    {
      "exact_match": false,
      "field_id": "supplier_name",
      "field_type": "supplier_name",
      "normalized_match": false,
      "value": "Meridian Paperworks Ltd."
    },
    {
      "exact_match": false,
      "field_id": "tax",
      "field_type": "tax",
      "normalized_match": false,
      "value": "€666.43"
    },
    {
      "exact_match": false,
      "field_id": "total",
      "field_type": "total",
      "normalized_match": false,
      "value": "€3,998.59"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_description",
      "field_type": "line_item_description",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "Custom form printing"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "17"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "€31.12"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_tax",
      "field_type": "line_item_tax",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "20.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_amount",
      "field_type": "line_item_amount",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "€529.04"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_description",
      "field_type": "line_item_description",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "Secure courier envelopes"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "8"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "€50.75"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_tax",
      "field_type": "line_item_tax",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "20.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_amount",
      "field_type": "line_item_amount",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "€406.00"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_description",
      "field_type": "line_item_description",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "Water-resistant wallets"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "3"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "€117.85"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_tax",
      "field_type": "line_item_tax",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "20.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_amount",
      "field_type": "line_item_amount",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "€353.55"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_description",
      "field_type": "line_item_description",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "Acid-free dividers"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "17"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "€120.21"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_tax",
      "field_type": "line_item_tax",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "20.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_amount",
      "field_type": "line_item_amount",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "€2,043.57"
    }
  ],
  "ground_truth_text": "Meridian Paperworks Ltd. Invoice 18 Hawthorn Row, Bristol BS1 4DJ BILL TO INVOICE NO. Juniper Claims Studio K26-804515 27 Crescent Yard, Manchester M1 2AB INVOICE DATE 2026-06-06 DUE DATE 2026-06-27 PAYMENT TERMS Net 21 CURRENCY EUR DESCRIPTION QTY UNIT TAX AMOUNT Custom form printing 17 €31.12 20.0% €529.04 Secure courier envelopes 8 €50.75 20.0% €406.00 Water-resistant wallets 3 €117.85 20.0% €353.55 Acid-free dividers 17 €120.21 20.0% €2,043.57 SUBTOTAL €3,332.16 DISCOUNT €0.00 SHIPPING €0.00 TVA 20% €666.43 TOTAL €3,998.59 Payment reference: K26-804515 · Fictional entities · synthetic invoice",
  "methodology_version": "spatial-field-lines-v1",
  "metrics": {
    "cer": 0.790268,
    "date_field_accuracy": 0,
    "field_exact_match": 0.028571,
    "field_normalized_match": 0.028571,
    "matched_fields": 1,
    "numeric_field_accuracy": 0.045455,
    "total_fields": 35,
    "wer": 1
  },
  "sequence_metrics": {
    "cer": 0.790268,
    "reading_order": "spatial-field-lines-v1",
    "wer": 1
  },
  "stderr": "",
  "text": "ee ae) ee eA\nSaas Dh ee ot Ne -— See res\n\n2 Se ee ee\n\neee ey fe 2 Sa ale :\n\nee — ee\n\nee oo ee\n\noe ge oo Be\n\nSo EES aay ae ee ie sas\n\nfet Ae Vena Seat Via Saas\n\nee eS Pee DSS a ie :\n\nee oe oe oo\n\nOno aa ee ee ee oes\n\nBa Be ee Sette 8 teat oe\n\nee oe\n\noe a :\n",
  "word_diff": [
    "--- ground_truth",
    "+++ tesseract",
    "@@ -1,87 +1,75 @@",
    "-Meridian",
    "-Paperworks",
    "-Ltd.",
    "-Invoice",
    "-18",
    "-Hawthorn",
    "-Row,",
    "-Bristol",
    "-BS1",
    "-4DJ",
    "-BILL",
    "-TO",
    "-INVOICE",
    "-NO.",
    "-Juniper",
    "-Claims",
    "-Studio",
    "-K26-804515",
    "-27",
    "-Crescent",
    "-Yard,",
    "-Manchester",
    "-M1",
    "-2AB",
    "-INVOICE",
    "-DATE",
    "-2026-06-06",
    "-DUE",
    "-DATE",
    "-2026-06-27",
    "-PAYMENT",
    "-TERMS",
    "-Net",
    "-21",
    "-CURRENCY",
    "-EUR",
    "-DESCRIPTION",
    "-QTY",
    "-UNIT",
    "-TAX",
    "-AMOUNT",
    "-Custom",
    "-form",
    "-printing",
    "-17",
    "-€31.12",
    "-20.0%",
    "-€529.04",
    "-Secure",
    "-courier",
    "-envelopes",
    "+ee",
    "+ae)",
    "+ee",
    "+eA",
    "+Saas",
    "+Dh",
    "+ee",
    "+ot",
    "+Ne",
    "+-—",
    "+See",
    "+res",
    "+2",
    "+Se",
    "+ee",
    "+ee",
    "+eee",
    "+ey",
    "+fe",
    "+2",
    "+Sa",
    "+ale",
    "+:",
    "+ee",
    "+—",
    "+ee",
    "+ee",
    "+oo",
    "+ee",
    "+oe",
    "+ge",
    "+oo",
    "+Be",
    "+So",
    "+EES",
    "+aay",
    "+ae",
    "+ee",
    "+ie",
    "+sas",
    "+fet",
    "+Ae",
    "+Vena",
    "+Seat",
    "+Via",
    "+Saas",
    "+ee",
    "+eS",
    "+Pee",
    "+DSS",
    "+a",
    "+ie",
    "+:",
    "+ee",
    "+oe",
    "+oe",
    "+oo",
    "+Ono",
    "+aa",
    "+ee",
    "+ee",
    "+ee",
    "+oes",
    "+Ba",
    "+Be",
    "+ee",
    "+Sette",
    " 8",
    "-€50.75",
    "-20.0%",
    "-€406.00",
    "-Water-resistant",
    "-wallets",
    "-3",
    "-€117.85",
    "-20.0%",
    "-€353.55",
    "-Acid-free",
    "-dividers",
    "-17",
    "-€120.21",
    "-20.0%",
    "-€2,043.57",
    "-SUBTOTAL",
    "-€3,332.16",
    "-DISCOUNT",
    "-€0.00",
    "-SHIPPING",
    "-€0.00",
    "-TVA",
    "-20%",
    "-€666.43",
    "-TOTAL",
    "-€3,998.59",
    "-Payment",
    "-reference:",
    "-K26-804515",
    "-·",
    "-Fictional",
    "-entities",
    "-·",
    "-synthetic",
    "-invoice",
    "+teat",
    "+oe",
    "+ee",
    "+oe",
    "+oe",
    "+a",
    "+:"
  ]
}

Generation provenance

{
  "artifact_id": "dt-e4b18ddc1406a47aa4694d05",
  "degradation_asset_registry_version": null,
  "generated_at": "2026-09-05T06:11:10.210337+00:00",
  "recipe": "bad_phone_photo",
  "renderer": "canonical",
  "renderer_version": "pillow-opencv-v0.5.0-physical-assets-v1",
  "request_sha256": "e4b18ddc1406a47aa4694d050eac1c07161148a44cffd6ccd19fb78bdc28201d",
  "seed": 10850,
  "software": {
    "numpy": "2.2.6",
    "opencv": "4.12.0",
    "pillow": "11.3.0",
    "python": "3.12.14"
  },
  "template_id": "invoice-studio-note-v1"
}