Canonical sample

dt-d965625117e7a4c838b9c868

Seed
10600
Template
invoice-atlas-ledger-v1
Renderer
pillow-opencv-v0.5.0-physical-assets-v1
Recipe
two_condition

Exact recipe

[
  {
    "condition": "perspective",
    "parameters": {
      "corner_offset_fraction": 0.0285,
      "frame_scale": 0.847
    },
    "severity": 0.3
  },
  {
    "condition": "low_light",
    "parameters": {
      "gain": 0.79,
      "shot_noise_sigma": 11.7
    },
    "severity": 0.3
  }
]

Quality metrics

{
  "blur_laplacian_variance": 1734.4092,
  "brightness_mean": 185.2882,
  "brightness_std": 27.8839,
  "contrast_rms": 27.8839,
  "damage_coverage": 0.999295,
  "document_area_fraction": 0.999781,
  "edge_distortion": 0.000158,
  "glare_coverage": 0,
  "mean_color_shift": 64.8008,
  "shadow_coverage": 0.014977
}

OCR output + metrics

{
  "engine": "tesseract",
  "engine_version": "5.5.0",
  "exit_code": 0,
  "field_metrics": {
    "date_field_accuracy": 1,
    "field_exact_match": 0.4,
    "field_normalized_match": 0.4,
    "matched_fields": 18,
    "numeric_field_accuracy": 0.366667,
    "total_fields": 45
  },
  "field_results": [
    {
      "exact_match": false,
      "field_id": "currency",
      "field_type": "currency",
      "normalized_match": false,
      "value": "USD"
    },
    {
      "exact_match": true,
      "field_id": "customer_address",
      "field_type": "customer_address",
      "normalized_match": true,
      "value": "Melbourne VIC 3000"
    },
    {
      "exact_match": true,
      "field_id": "customer_name",
      "field_type": "customer_name",
      "normalized_match": true,
      "value": "Civic Form Systems"
    },
    {
      "exact_match": false,
      "field_id": "discount",
      "field_type": "discount",
      "normalized_match": false,
      "value": "$135.92"
    },
    {
      "exact_match": true,
      "field_id": "due_date",
      "field_type": "due_date",
      "normalized_match": true,
      "value": "2026-02-15"
    },
    {
      "exact_match": true,
      "field_id": "invoice_date",
      "field_type": "invoice_date",
      "normalized_match": true,
      "value": "2026-01-16"
    },
    {
      "exact_match": true,
      "field_id": "invoice_number",
      "field_type": "invoice_number",
      "normalized_match": true,
      "value": "A26-277671"
    },
    {
      "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 30"
    },
    {
      "exact_match": true,
      "field_id": "shipping",
      "field_type": "shipping",
      "normalized_match": true,
      "value": "$0.00"
    },
    {
      "exact_match": false,
      "field_id": "subtotal",
      "field_type": "subtotal",
      "normalized_match": false,
      "value": "$2,718.44"
    },
    {
      "exact_match": false,
      "field_id": "supplier_address",
      "field_type": "supplier_address",
      "normalized_match": false,
      "value": "42 Alder Quay · Portland, OR 97205"
    },
    {
      "exact_match": true,
      "field_id": "supplier_name",
      "field_type": "supplier_name",
      "normalized_match": true,
      "value": "Northwind Archive Supply"
    },
    {
      "exact_match": false,
      "field_id": "tax",
      "field_type": "tax",
      "normalized_match": false,
      "value": "$206.60"
    },
    {
      "exact_match": true,
      "field_id": "total",
      "field_type": "total",
      "normalized_match": true,
      "value": "$2,789.12"
    },
    {
      "exact_match": true,
      "field_id": "line_item_0_description",
      "field_type": "line_item_description",
      "line_item_index": 0,
      "normalized_match": true,
      "value": "Records indexing service"
    },
    {
      "exact_match": true,
      "field_id": "line_item_0_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 0,
      "normalized_match": true,
      "value": "15"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "$63.03"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_tax",
      "field_type": "line_item_tax",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "8.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_amount",
      "field_type": "line_item_amount",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "$945.45"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_description",
      "field_type": "line_item_description",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "A4 document sleeves"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "6"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "$70.80"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_tax",
      "field_type": "line_item_tax",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "8.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_1_amount",
      "field_type": "line_item_amount",
      "line_item_index": 1,
      "normalized_match": false,
      "value": "$424.80"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_description",
      "field_type": "line_item_description",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "Barcode label sheets"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "4"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "$134.19"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_tax",
      "field_type": "line_item_tax",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "8.0%"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_amount",
      "field_type": "line_item_amount",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "$536.76"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_description",
      "field_type": "line_item_description",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "Numbered evidence bags"
    },
    {
      "exact_match": true,
      "field_id": "line_item_3_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 3,
      "normalized_match": true,
      "value": "1"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "$67.97"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_tax",
      "field_type": "line_item_tax",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "8.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_amount",
      "field_type": "line_item_amount",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "$67.97"
    },
    {
      "exact_match": false,
      "field_id": "line_item_4_description",
      "field_type": "line_item_description",
      "line_item_index": 4,
      "normalized_match": false,
      "value": "Heavy-duty file folders"
    },
    {
      "exact_match": true,
      "field_id": "line_item_4_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 4,
      "normalized_match": true,
      "value": "6"
    },
    {
      "exact_match": false,
      "field_id": "line_item_4_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 4,
      "normalized_match": false,
      "value": "$71.46"
    },
    {
      "exact_match": false,
      "field_id": "line_item_4_tax",
      "field_type": "line_item_tax",
      "line_item_index": 4,
      "normalized_match": false,
      "value": "8.0%"
    },
    {
      "exact_match": false,
      "field_id": "line_item_4_amount",
      "field_type": "line_item_amount",
      "line_item_index": 4,
      "normalized_match": false,
      "value": "$428.76"
    },
    {
      "exact_match": false,
      "field_id": "line_item_5_description",
      "field_type": "line_item_description",
      "line_item_index": 5,
      "normalized_match": false,
      "value": "Archive storage cartons"
    },
    {
      "exact_match": true,
      "field_id": "line_item_5_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 5,
      "normalized_match": true,
      "value": "5"
    },
    {
      "exact_match": false,
      "field_id": "line_item_5_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 5,
      "normalized_match": false,
      "value": "$62.94"
    },
    {
      "exact_match": false,
      "field_id": "line_item_5_tax",
      "field_type": "line_item_tax",
      "line_item_index": 5,
      "normalized_match": false,
      "value": "8.0%"
    },
    {
      "exact_match": true,
      "field_id": "line_item_5_amount",
      "field_type": "line_item_amount",
      "line_item_index": 5,
      "normalized_match": true,
      "value": "$314.70"
    }
  ],
  "ground_truth_text": "INVOICE Northwind Archive Supply 42 Alder Quay · Portland, OR 97205 BILL TO INVOICE NO. Civic Form Systems A26-277671 82 Wattle Parade INVOICE DATE Melbourne VIC 3000 2026-01-16 DUE DATE 2026-02-15 PAYMENT TERMS Net 30 CURRENCY USD DESCRIPTION QTY UNIT TAX AMOUNT Records indexing service 15 $63.03 8.0% $945.45 A4 document sleeves 6 $70.80 8.0% $424.80 Barcode label sheets 4 $134.19 8.0% $536.76 Numbered evidence bags 1 $67.97 8.0% $67.97 Heavy-duty file folders 6 $71.46 8.0% $428.76 Archive storage cartons 5 $62.94 8.0% $314.70 SUBTOTAL $2,718.44 DISCOUNT $135.92 SHIPPING $0.00 SALES TAX $206.60 TOTAL $2,789.12 Payment reference: A26-277671 · Fictional entities · synthetic invoice",
  "methodology_version": "spatial-field-lines-v1",
  "metrics": {
    "cer": 0.374449,
    "date_field_accuracy": 1,
    "field_exact_match": 0.4,
    "field_normalized_match": 0.4,
    "matched_fields": 18,
    "numeric_field_accuracy": 0.366667,
    "total_fields": 45,
    "wer": 0.601942
  },
  "sequence_metrics": {
    "cer": 0.374449,
    "reading_order": "spatial-field-lines-v1",
    "wer": 0.601942
  },
  "stderr": "",
  "text": "Northwind Archive Supply\n42 Alder Qtey_ Portland, on 97208\nCivic Form Systems A26-277671\n82 Watle Parade savor oare\nMelbourne Vic 3000\n2026-01-16\n2026-02-15\nNet 20\nusp\nRecords indexing service 1s $5202 on sonsuas\n[AA document sleeves 6 $70.00 0% $428.00\nBarcode label sheets 4 Bere aon $536.76\nNumbered evidence bogs 1 $6797 ox se7s7\nHeavy-duty fle folders 5 snas son $028.76\nArchive stage cartons 5 $62.04 0% $314.70\nsuetors $270.48\noiscounr 9135.92\nspine $0.00\nsates 7 $208.60\nora, $2,789.12\n",
  "word_diff": [
    "--- ground_truth",
    "+++ tesseract",
    "@@ -1,104 +1,79 @@",
    "-INVOICE",
    " Northwind",
    " Archive",
    " Supply",
    " 42",
    " Alder",
    "-Quay",
    "-·",
    "+Qtey_",
    " Portland,",
    "-OR",
    "-97205",
    "-BILL",
    "-TO",
    "-INVOICE",
    "-NO.",
    "+on",
    "+97208",
    " Civic",
    " Form",
    " Systems",
    " A26-277671",
    " 82",
    "-Wattle",
    "+Watle",
    " Parade",
    "-INVOICE",
    "-DATE",
    "+savor",
    "+oare",
    " Melbourne",
    "-VIC",
    "+Vic",
    " 3000",
    " 2026-01-16",
    "-DUE",
    "-DATE",
    " 2026-02-15",
    "-PAYMENT",
    "-TERMS",
    " Net",
    "-30",
    "-CURRENCY",
    "-USD",
    "-DESCRIPTION",
    "-QTY",
    "-UNIT",
    "-TAX",
    "-AMOUNT",
    "+20",
    "+usp",
    " Records",
    " indexing",
    " service",
    "-15",
    "-$63.03",
    "-8.0%",
    "-$945.45",
    "-A4",
    "+1s",
    "+$5202",
    "+on",
    "+sonsuas",
    "+[AA",
    " document",
    " sleeves",
    " 6",
    "-$70.80",
    "-8.0%",
    "-$424.80",
    "+$70.00",
    "+0%",
    "+$428.00",
    " Barcode",
    " label",
    " sheets",
    " 4",
    "-$134.19",
    "-8.0%",
    "+Bere",
    "+aon",
    " $536.76",
    " Numbered",
    " evidence",
    "-bags",
    "+bogs",
    " 1",
    "-$67.97",
    "-8.0%",
    "-$67.97",
    "+$6797",
    "+ox",
    "+se7s7",
    " Heavy-duty",
    "-file",
    "+fle",
    " folders",
    "-6",
    "-$71.46",
    "-8.0%",
    "-$428.76",
    "+5",
    "+snas",
    "+son",
    "+$028.76",
    " Archive",
    "-storage",
    "+stage",
    " cartons",
    " 5",
    "-$62.94",
    "-8.0%",
    "+$62.04",
    "+0%",
    " $314.70",
    "-SUBTOTAL",
    "-$2,718.44",
    "-DISCOUNT",
    "-$135.92",
    "-SHIPPING",
    "+suetors",
    "+$270.48",
    "+oiscounr",
    "+9135.92",
    "+spine",
    " $0.00",
    "-SALES",
    "-TAX",
    "-$206.60",
    "-TOTAL",
    "+sates",
    "+7",
    "+$208.60",
    "+ora,",
    " $2,789.12",
    "-Payment",
    "-reference:",
    "-A26-277671",
    "-·",
    "-Fictional",
    "-entities",
    "-·",
    "-synthetic",
    "-invoice"
  ]
}

Generation provenance

{
  "artifact_id": "dt-d965625117e7a4c838b9c868",
  "degradation_asset_registry_version": null,
  "generated_at": "2026-09-05T06:11:06.159874+00:00",
  "recipe": null,
  "renderer": "canonical",
  "renderer_version": "pillow-opencv-v0.5.0-physical-assets-v1",
  "request_sha256": "d965625117e7a4c838b9c868a009fc0f843e8d85cb2e7f462c76b16ca2942523",
  "seed": 10600,
  "software": {
    "numpy": "2.2.6",
    "opencv": "4.12.0",
    "pillow": "11.3.0",
    "python": "3.12.14"
  },
  "template_id": "invoice-atlas-ledger-v1"
}