Exact recipe
[]
Canonical sample
Exact recipe
[]
Quality metrics
{
"blur_laplacian_variance": 1888.0503,
"brightness_mean": 243.6548,
"brightness_std": 39.8113,
"contrast_rms": 39.8113,
"damage_coverage": 0,
"document_area_fraction": 1,
"edge_distortion": 0,
"glare_coverage": 0.888466,
"mean_color_shift": 0,
"shadow_coverage": 0.003943
}OCR output + metrics
{
"engine": "tesseract",
"engine_version": "5.5.0",
"exit_code": 0,
"field_metrics": {
"date_field_accuracy": 1,
"field_exact_match": 0.8,
"field_normalized_match": 0.8,
"matched_fields": 36,
"numeric_field_accuracy": 0.866667,
"total_fields": 45
},
"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": "Toronto, ON M5V 1A1"
},
{
"exact_match": true,
"field_id": "customer_name",
"field_type": "customer_name",
"normalized_match": true,
"value": "Beacon Freight Services"
},
{
"exact_match": true,
"field_id": "discount",
"field_type": "discount",
"normalized_match": true,
"value": "$173.16"
},
{
"exact_match": true,
"field_id": "due_date",
"field_type": "due_date",
"normalized_match": true,
"value": "2026-05-12"
},
{
"exact_match": true,
"field_id": "invoice_date",
"field_type": "invoice_date",
"normalized_match": true,
"value": "2026-04-12"
},
{
"exact_match": true,
"field_id": "invoice_number",
"field_type": "invoice_number",
"normalized_match": true,
"value": "A26-460887"
},
{
"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": "$0.00"
},
{
"exact_match": true,
"field_id": "subtotal",
"field_type": "subtotal",
"normalized_match": true,
"value": "$3,463.21"
},
{
"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": true,
"field_id": "tax",
"field_type": "tax",
"normalized_match": true,
"value": "$263.20"
},
{
"exact_match": true,
"field_id": "total",
"field_type": "total",
"normalized_match": true,
"value": "$3,553.25"
},
{
"exact_match": true,
"field_id": "line_item_0_description",
"field_type": "line_item_description",
"line_item_index": 0,
"normalized_match": true,
"value": "Custom form printing"
},
{
"exact_match": true,
"field_id": "line_item_0_quantity",
"field_type": "line_item_quantity",
"line_item_index": 0,
"normalized_match": true,
"value": "10"
},
{
"exact_match": true,
"field_id": "line_item_0_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 0,
"normalized_match": true,
"value": "$158.93"
},
{
"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": true,
"field_id": "line_item_0_amount",
"field_type": "line_item_amount",
"line_item_index": 0,
"normalized_match": true,
"value": "$1,589.30"
},
{
"exact_match": true,
"field_id": "line_item_1_description",
"field_type": "line_item_description",
"line_item_index": 1,
"normalized_match": true,
"value": "Chain-of-custody seals"
},
{
"exact_match": false,
"field_id": "line_item_1_quantity",
"field_type": "line_item_quantity",
"line_item_index": 1,
"normalized_match": false,
"value": "13"
},
{
"exact_match": false,
"field_id": "line_item_1_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 1,
"normalized_match": false,
"value": "$57.24"
},
{
"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": false,
"field_id": "line_item_1_amount",
"field_type": "line_item_amount",
"line_item_index": 1,
"normalized_match": false,
"value": "$744.12"
},
{
"exact_match": true,
"field_id": "line_item_2_description",
"field_type": "line_item_description",
"line_item_index": 2,
"normalized_match": true,
"value": "Tamper-evident labels"
},
{
"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": true,
"field_id": "line_item_2_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 2,
"normalized_match": true,
"value": "$40.09"
},
{
"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": "$160.36"
},
{
"exact_match": true,
"field_id": "line_item_3_description",
"field_type": "line_item_description",
"line_item_index": 3,
"normalized_match": true,
"value": "Document scanning service"
},
{
"exact_match": true,
"field_id": "line_item_3_quantity",
"field_type": "line_item_quantity",
"line_item_index": 3,
"normalized_match": true,
"value": "4"
},
{
"exact_match": true,
"field_id": "line_item_3_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 3,
"normalized_match": true,
"value": "$56.95"
},
{
"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": true,
"field_id": "line_item_3_amount",
"field_type": "line_item_amount",
"line_item_index": 3,
"normalized_match": true,
"value": "$227.80"
},
{
"exact_match": true,
"field_id": "line_item_4_description",
"field_type": "line_item_description",
"line_item_index": 4,
"normalized_match": true,
"value": "Secure courier envelopes"
},
{
"exact_match": true,
"field_id": "line_item_4_quantity",
"field_type": "line_item_quantity",
"line_item_index": 4,
"normalized_match": true,
"value": "3"
},
{
"exact_match": true,
"field_id": "line_item_4_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 4,
"normalized_match": true,
"value": "$117.05"
},
{
"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": false,
"field_id": "line_item_4_amount",
"field_type": "line_item_amount",
"line_item_index": 4,
"normalized_match": false,
"value": "$351.15"
},
{
"exact_match": false,
"field_id": "line_item_5_description",
"field_type": "line_item_description",
"line_item_index": 5,
"normalized_match": false,
"value": "Water-resistant wallets"
},
{
"exact_match": true,
"field_id": "line_item_5_quantity",
"field_type": "line_item_quantity",
"line_item_index": 5,
"normalized_match": true,
"value": "6"
},
{
"exact_match": true,
"field_id": "line_item_5_unit_price",
"field_type": "line_item_unit_price",
"line_item_index": 5,
"normalized_match": true,
"value": "$65.08"
},
{
"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": "$390.48"
}
],
"ground_truth_text": "INVOICE Northwind Archive Supply 42 Alder Quay · Portland, OR 97205 BILL TO INVOICE NO. Beacon Freight Services A26-460887 440 Terminal Road INVOICE DATE Toronto, ON M5V 1A1 2026-04-12 DUE DATE 2026-05-12 PAYMENT TERMS Net 30 CURRENCY USD DESCRIPTION QTY UNIT TAX AMOUNT Custom form printing 10 $158.93 8.0% $1,589.30 Chain-of-custody seals 13 $57.24 8.0% $744.12 Tamper-evident labels 4 $40.09 8.0% $160.36 Document scanning service 4 $56.95 8.0% $227.80 Secure courier envelopes 3 $117.05 8.0% $351.15 Water-resistant wallets 6 $65.08 8.0% $390.48 SUBTOTAL $3,463.21 DISCOUNT $173.16 SHIPPING $0.00 SALES TAX $263.20 TOTAL $3,553.25 Payment reference: A26-460887 · Fictional entities · synthetic invoice",
"methodology_version": "spatial-field-lines-v1",
"metrics": {
"cer": 0.178161,
"date_field_accuracy": 1,
"field_exact_match": 0.8,
"field_normalized_match": 0.8,
"matched_fields": 36,
"numeric_field_accuracy": 0.866667,
"total_fields": 45,
"wer": 0.254902
},
"sequence_metrics": {
"cer": 0.178161,
"reading_order": "spatial-field-lines-v1",
"wer": 0.254902
},
"stderr": "",
"text": "Northwind Archive Supply\n42 Alder Quay - Portland, OR 97205\nBILL To INvoIce wo\nBeacon Freight Services A26-460887\n440 Terminal Road INVOICE DATE\nToronto, ON MSV 1A1 2026-04-12\nDUE pare\n2026-05-12\nPAYMENT TERMS\nNet 30\ncuRRENCY\nusp\nCustom form printing 10 $158.93, 8.0% $1,589.30\nChain-of-custody seals cE] 957.24 80% = $744.2\nTamper-evident labels 4 $40.09 8.0% $160.36\nDocument scanning service 4 $56.95 8.0% $227.80\nSecure courier envelopes 3 $117.05 8.0% = $351.25\nWoterresistent wallets 6 $65.08 8.0% $390.48\nsueToTAL $3,463.21\npiscount $173.16\nSHIPPING $0.00\nSALES TAX $263.20\nTOTAL $3,553.25\n",
"word_diff": [
"--- ground_truth",
"+++ tesseract",
"@@ -1,18 +1,17 @@",
"-INVOICE",
" Northwind",
" Archive",
" Supply",
" 42",
" Alder",
" Quay",
"-·",
"+-",
" Portland,",
" OR",
" 97205",
" BILL",
"-TO",
"-INVOICE",
"-NO.",
"+To",
"+INvoIce",
"+wo",
" Beacon",
" Freight",
" Services",
"@@ -24,36 +23,32 @@",
" DATE",
" Toronto,",
" ON",
"-M5V",
"+MSV",
" 1A1",
" 2026-04-12",
" DUE",
"-DATE",
"+pare",
" 2026-05-12",
" PAYMENT",
" TERMS",
" Net",
" 30",
"-CURRENCY",
"-USD",
"-DESCRIPTION",
"-QTY",
"-UNIT",
"-TAX",
"-AMOUNT",
"+cuRRENCY",
"+usp",
" Custom",
" form",
" printing",
" 10",
"-$158.93",
"+$158.93,",
" 8.0%",
" $1,589.30",
" Chain-of-custody",
" seals",
"-13",
"-$57.24",
"-8.0%",
"-$744.12",
"+cE]",
"+957.24",
"+80%",
"+=",
"+$744.2",
" Tamper-evident",
" labels",
" 4",
"@@ -73,16 +68,17 @@",
" 3",
" $117.05",
" 8.0%",
"-$351.15",
"-Water-resistant",
"+=",
"+$351.25",
"+Woterresistent",
" wallets",
" 6",
" $65.08",
" 8.0%",
" $390.48",
"-SUBTOTAL",
"+sueToTAL",
" $3,463.21",
"-DISCOUNT",
"+piscount",
" $173.16",
" SHIPPING",
" $0.00",
"@@ -91,12 +87,3 @@",
" $263.20",
" TOTAL",
" $3,553.25",
"-Payment",
"-reference:",
"-A26-460887",
"-·",
"-Fictional",
"-entities",
"-·",
"-synthetic",
"-invoice"
]
}Generation provenance
{
"artifact_id": "dt-1f0f23ea6f55942814f55ddf",
"degradation_asset_registry_version": null,
"generated_at": "2026-09-05T06:11:03.789344+00:00",
"recipe": null,
"renderer": "canonical",
"renderer_version": "pillow-opencv-v0.5.0-physical-assets-v1",
"request_sha256": "1f0f23ea6f55942814f55ddf3db22b372a91db3950ac1d004b4a16d5351d05fc",
"seed": 10000,
"software": {
"numpy": "2.2.6",
"opencv": "4.12.0",
"pillow": "11.3.0",
"python": "3.12.14"
},
"template_id": "invoice-atlas-ledger-v1"
}