Exact recipe
[
{
"condition": "blur",
"parameters": {
"gaussian_sigma": 0.2975
},
"severity": 0.1
}
]Canonical sample
Exact recipe
[
{
"condition": "blur",
"parameters": {
"gaussian_sigma": 0.2975
},
"severity": 0.1
}
]Quality metrics
{
"blur_laplacian_variance": 1858.2698,
"brightness_mean": 241.5547,
"brightness_std": 36.1488,
"contrast_rms": 36.1488,
"damage_coverage": 0,
"document_area_fraction": 1,
"edge_distortion": 0,
"glare_coverage": 0.885883,
"mean_color_shift": 0.0304,
"shadow_coverage": 0.002872
}OCR output + metrics
{
"engine": "tesseract",
"engine_version": "5.5.0",
"exit_code": 0,
"field_metrics": {
"date_field_accuracy": 1,
"field_exact_match": 0.690909,
"field_normalized_match": 0.690909,
"matched_fields": 38,
"numeric_field_accuracy": 0.736842,
"total_fields": 55
},
"field_results": [
{
"exact_match": false,
"field_id": "currency",
"field_type": "currency",
"normalized_match": false,
"value": "USD"
},
{
"exact_match": false,
"field_id": "customer_address",
"field_type": "customer_address",
"normalized_match": false,
"value": "Seattle, WA 98101"
},
{
"exact_match": true,
"field_id": "customer_name",
"field_type": "customer_name",
"normalized_match": true,
"value": "Fictional Paperworks LLC"
},
{
"exact_match": true,
"field_id": "discount",
"field_type": "discount",
"normalized_match": true,
"value": "$0.00"
},
{
"exact_match": true,
"field_id": "due_date",
"field_type": "due_date",
"normalized_match": true,
"value": "2026-07-31"
},
{
"exact_match": true,
"field_id": "invoice_date",
"field_type": "invoice_date",
"normalized_match": true,
"value": "2026-07-01"
},
{
"exact_match": false,
"field_id": "invoice_number",
"field_type": "invoice_number",
"normalized_match": false,
"value": "L26-351217"
},
{
"exact_match": false,
"field_id": "line_item_header",
"field_type": "line_item_header",
"normalized_match": false,
"value": "AMOUNT"
},
{
"exact_match": true,
"field_id": "payment_terms",
"field_type": "payment_terms",
"normalized_match": true,
"value": "Net 30"
},
{
"exact_match": true,
"field_id": "shipping",
"field_type": "shipping",
"normalized_match": true,
"value": "$18.50"
},
{
"exact_match": true,
"field_id": "subtotal",
"field_type": "subtotal",
"normalized_match": true,
"value": "$5,906.28"
},
{
"exact_match": false,
"field_id": "supplier_address",
"field_type": "supplier_address",
"normalized_match": false,
"value": "907 Cypress Avenue · Vancouver, BC V6B 2W2"
},
{
"exact_match": true,
"field_id": "supplier_name",
"field_type": "supplier_name",
"normalized_match": true,
"value": "Blue Harbor Office Goods"
},
{
"exact_match": true,
"field_id": "tax",
"field_type": "tax",
"normalized_match": true,
"value": "$473.98"
},
{
"exact_match": true,
"field_id": "total",
"field_type": "total",
"normalized_match": true,
"value": "$6,398.76"
},
{
"exact_match": false,
"field_id": "line_item_0_description",
"field_type": "line_item_description",
"line_item_index": 0,
"normalized_match": false,
"value": "Tamper-evident labels"
},
{
"exact_match": true,
"field_id": "line_item_0_quantity",
"field_type": "line_item_quantity",
"line_item_index": 0,
"normalized_match": true,
"value": "8"
},
{
"exact_match": false,
"field_id": "line_item_0_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 0,
"normalized_match": false,
"value": "$91.11"
},
{
"exact_match": true,
"field_id": "line_item_0_tax",
"field_type": "line_item_tax",
"line_item_index": 0,
"normalized_match": true,
"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": "$728.88"
},
{
"exact_match": true,
"field_id": "line_item_1_description",
"field_type": "line_item_description",
"line_item_index": 1,
"normalized_match": true,
"value": "Numbered evidence bags"
},
{
"exact_match": true,
"field_id": "line_item_1_quantity",
"field_type": "line_item_quantity",
"line_item_index": 1,
"normalized_match": true,
"value": "9"
},
{
"exact_match": true,
"field_id": "line_item_1_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 1,
"normalized_match": true,
"value": "$69.88"
},
{
"exact_match": true,
"field_id": "line_item_1_tax",
"field_type": "line_item_tax",
"line_item_index": 1,
"normalized_match": true,
"value": "8.0%"
},
{
"exact_match": true,
"field_id": "line_item_1_amount",
"field_type": "line_item_amount",
"line_item_index": 1,
"normalized_match": true,
"value": "$628.92"
},
{
"exact_match": false,
"field_id": "line_item_2_description",
"field_type": "line_item_description",
"line_item_index": 2,
"normalized_match": false,
"value": "Chain-of-custody seals"
},
{
"exact_match": false,
"field_id": "line_item_2_quantity",
"field_type": "line_item_quantity",
"line_item_index": 2,
"normalized_match": false,
"value": "15"
},
{
"exact_match": true,
"field_id": "line_item_2_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 2,
"normalized_match": true,
"value": "$136.92"
},
{
"exact_match": true,
"field_id": "line_item_2_tax",
"field_type": "line_item_tax",
"line_item_index": 2,
"normalized_match": true,
"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": "$2,053.80"
},
{
"exact_match": true,
"field_id": "line_item_3_description",
"field_type": "line_item_description",
"line_item_index": 3,
"normalized_match": true,
"value": "Records indexing service"
},
{
"exact_match": true,
"field_id": "line_item_3_quantity",
"field_type": "line_item_quantity",
"line_item_index": 3,
"normalized_match": true,
"value": "12"
},
{
"exact_match": true,
"field_id": "line_item_3_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 3,
"normalized_match": true,
"value": "$75.74"
},
{
"exact_match": true,
"field_id": "line_item_3_tax",
"field_type": "line_item_tax",
"line_item_index": 3,
"normalized_match": true,
"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": "$908.88"
},
{
"exact_match": true,
"field_id": "line_item_4_description",
"field_type": "line_item_description",
"line_item_index": 4,
"normalized_match": true,
"value": "Barcode label sheets"
},
{
"exact_match": true,
"field_id": "line_item_4_quantity",
"field_type": "line_item_quantity",
"line_item_index": 4,
"normalized_match": true,
"value": "4"
},
{
"exact_match": true,
"field_id": "line_item_4_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 4,
"normalized_match": true,
"value": "$126.44"
},
{
"exact_match": true,
"field_id": "line_item_4_tax",
"field_type": "line_item_tax",
"line_item_index": 4,
"normalized_match": true,
"value": "8.0%"
},
{
"exact_match": true,
"field_id": "line_item_4_amount",
"field_type": "line_item_amount",
"line_item_index": 4,
"normalized_match": true,
"value": "$505.76"
},
{
"exact_match": true,
"field_id": "line_item_5_description",
"field_type": "line_item_description",
"line_item_index": 5,
"normalized_match": true,
"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": "16"
},
{
"exact_match": false,
"field_id": "line_item_5_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 5,
"normalized_match": false,
"value": "$39.26"
},
{
"exact_match": true,
"field_id": "line_item_5_tax",
"field_type": "line_item_tax",
"line_item_index": 5,
"normalized_match": true,
"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": "$628.16"
},
{
"exact_match": true,
"field_id": "line_item_6_description",
"field_type": "line_item_description",
"line_item_index": 6,
"normalized_match": true,
"value": "Secure courier envelopes"
},
{
"exact_match": true,
"field_id": "line_item_6_quantity",
"field_type": "line_item_quantity",
"line_item_index": 6,
"normalized_match": true,
"value": "4"
},
{
"exact_match": false,
"field_id": "line_item_6_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 6,
"normalized_match": false,
"value": "$85.82"
},
{
"exact_match": true,
"field_id": "line_item_6_tax",
"field_type": "line_item_tax",
"line_item_index": 6,
"normalized_match": true,
"value": "8.0%"
},
{
"exact_match": true,
"field_id": "line_item_6_amount",
"field_type": "line_item_amount",
"line_item_index": 6,
"normalized_match": true,
"value": "$343.28"
},
{
"exact_match": false,
"field_id": "line_item_7_description",
"field_type": "line_item_description",
"line_item_index": 7,
"normalized_match": false,
"value": "Thermal receipt rolls"
},
{
"exact_match": false,
"field_id": "line_item_7_quantity",
"field_type": "line_item_quantity",
"line_item_index": 7,
"normalized_match": false,
"value": "15"
},
{
"exact_match": false,
"field_id": "line_item_7_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 7,
"normalized_match": false,
"value": "$7.24"
},
{
"exact_match": true,
"field_id": "line_item_7_tax",
"field_type": "line_item_tax",
"line_item_index": 7,
"normalized_match": true,
"value": "8.0%"
},
{
"exact_match": false,
"field_id": "line_item_7_amount",
"field_type": "line_item_amount",
"line_item_index": 7,
"normalized_match": false,
"value": "$108.60"
}
],
"ground_truth_text": "INVOICE Blue Harbor Office Goods 907 Cypress Avenue · Vancouver, BC V6B 2W2 BILL TO INVOICE NO. Fictional Paperworks LLC L26-351217 188 Market Lane INVOICE DATE Seattle, WA 98101 2026-07-01 DUE DATE 2026-07-31 PAYMENT TERMS Net 30 CURRENCY USD DESCRIPTION QTY UNIT TAX AMOUNT Tamper-evident labels 8 $91.11 8.0% $728.88 Numbered evidence bags 9 $69.88 8.0% $628.92 Chain-of-custody seals 15 $136.92 8.0% $2,053.80 Records indexing service 12 $75.74 8.0% $908.88 Barcode label sheets 4 $126.44 8.0% $505.76 Archive storage cartons 16 $39.26 8.0% $628.16 Secure courier envelopes 4 $85.82 8.0% $343.28 Thermal receipt rolls 15 $7.24 8.0% $108.60 SUBTOTAL $5,906.28 DISCOUNT $0.00 SHIPPING $18.50 TAX $473.98 TOTAL $6,398.76 Payment reference: L26-351217 · Fictional entities · synthetic invoice",
"methodology_version": "spatial-field-lines-v1",
"metrics": {
"cer": 0.232439,
"date_field_accuracy": 1,
"field_exact_match": 0.690909,
"field_normalized_match": 0.690909,
"matched_fields": 38,
"numeric_field_accuracy": 0.736842,
"total_fields": 55,
"wer": 0.376068
},
"sequence_metrics": {
"cer": 0.232439,
"reading_order": "spatial-field-lines-v1",
"wer": 0.376068
},
"stderr": "",
"text": "Blue Harbor Office Goods\n907 Cypress Avenue - Vancouver, BC V6B 22\nBILL To wvoICE no\nFictional Paperworks LLC 126-351217\n188 Market Lane TNWOICE DATE\nSeattle, WA 96101 2026-07-01\nDue ate\n2026-07-31\nAMEN TERNS\nNet 30\ncumency\nusp\nTonper-evident Labels 8 su. 8.0% $728.08\nNumbered evidence bags 9 $69.88 8.0% $628.92\nchain-of custody seals 1s $136.92 8.0% $2,053.80\nRecords indexing service 2 $75.74 8.0% $908.08\nBarcode Label sheets 4 $126.44 8.0% $505.76\nArchive storage cartons 16 $29.26 8.0% $628.16\nsecure courier envelopes 4 $05.82 8.0% $343.28\nsuToTAL $5,906.28\norscouNT $0.00\nSHIPPING $18.50\ntax $473.98\nTOTAL $6,398.76\n",
"word_diff": [
"--- ground_truth",
"+++ tesseract",
"@@ -1,4 +1,3 @@",
"-INVOICE",
" Blue",
" Harbor",
" Office",
"@@ -6,48 +5,43 @@",
" 907",
" Cypress",
" Avenue",
"-·",
"+-",
" Vancouver,",
" BC",
" V6B",
"-2W2",
"+22",
" BILL",
"-TO",
"-INVOICE",
"-NO.",
"+To",
"+wvoICE",
"+no",
" Fictional",
" Paperworks",
" LLC",
"-L26-351217",
"+126-351217",
" 188",
" Market",
" Lane",
"-INVOICE",
"+TNWOICE",
" DATE",
" Seattle,",
" WA",
"-98101",
"+96101",
" 2026-07-01",
"-DUE",
"-DATE",
"+Due",
"+ate",
" 2026-07-31",
"-PAYMENT",
"-TERMS",
"+AMEN",
"+TERNS",
" Net",
" 30",
"-CURRENCY",
"-USD",
"-DESCRIPTION",
"-QTY",
"-UNIT",
"-TAX",
"-AMOUNT",
"-Tamper-evident",
"-labels",
"+cumency",
"+usp",
"+Tonper-evident",
"+Labels",
" 8",
"-$91.11",
"+su.",
" 8.0%",
"-$728.88",
"+$728.08",
" Numbered",
" evidence",
" bags",
"@@ -55,21 +49,22 @@",
" $69.88",
" 8.0%",
" $628.92",
"-Chain-of-custody",
"+chain-of",
"+custody",
" seals",
"-15",
"+1s",
" $136.92",
" 8.0%",
" $2,053.80",
" Records",
" indexing",
" service",
"-12",
"+2",
" $75.74",
" 8.0%",
"-$908.88",
"+$908.08",
" Barcode",
"-label",
"+Label",
" sheets",
" 4",
" $126.44",
"@@ -79,39 +74,23 @@",
" storage",
" cartons",
" 16",
"-$39.26",
"+$29.26",
" 8.0%",
" $628.16",
"-Secure",
"+secure",
" courier",
" envelopes",
" 4",
"-$85.82",
"+$05.82",
" 8.0%",
" $343.28",
"-Thermal",
"-receipt",
"-rolls",
"-15",
"-$7.24",
"-8.0%",
"-$108.60",
"-SUBTOTAL",
"+suToTAL",
" $5,906.28",
"-DISCOUNT",
"+orscouNT",
" $0.00",
" SHIPPING",
" $18.50",
"-TAX",
"+tax",
" $473.98",
" TOTAL",
" $6,398.76",
"-Payment",
"-reference:",
"-L26-351217",
"-·",
"-Fictional",
"-entities",
"-·",
"-synthetic",
"-invoice"
]
}Generation provenance
{
"artifact_id": "dt-e080210bd2793b91b0f86966",
"degradation_asset_registry_version": null,
"generated_at": "2026-09-05T06:11:05.457413+00:00",
"recipe": null,
"renderer": "canonical",
"renderer_version": "pillow-opencv-v0.5.0-physical-assets-v1",
"request_sha256": "e080210bd2793b91b0f86966804c6db18925676b428beb7c95610936ba750b5d",
"seed": 10251,
"software": {
"numpy": "2.2.6",
"opencv": "4.12.0",
"pillow": "11.3.0",
"python": "3.12.14"
},
"template_id": "invoice-industrial-grid-v1"
}