MicroManager · Scanner 2.0 Lab v0.12

Separate experimental scanner. Does not read or modify MicroManager inventory, suppliers, tasks or invoices. No invoice is uploaded to a server by this page's code; OCR libraries and models load from external CDNs.

1. Choose invoice photograph

Advanced image preparation (use for small print)

For very small print, crop to the merchandise table or scan the top and bottom halves separately. This is a manual region crop, not automatic document perspective correction.

Waiting for image.

Invoice preview

Dense table recovery — independent high-resolution pass

A second OCR pass on a selected table region, useful for tiny UNFI print. This preserves the original OCR results for comparison. It does not automatically approve or merge conflicting values.

Select the invoice photo above first.

Region OCR text and detected codes

v0.9 — Independent OCR pass comparison

Runs grayscale and adaptive-threshold passes on the same manually selected table region. Results stay separate. Use the outputs to find OCR disagreements; no fields are approved automatically. Two passes may be slow on iPhone.

Ready.

v1.0 — Row-strip OCR experiment

After selecting a photograph, set the table's top/bottom and the item-code column in the region controls above. This experimental tool slices that region into equal-height strips, OCRs each strip separately, and shows raw results. It does not assume every strip equals one product; row boundaries must be verified against the photograph. No inventory changes.

v0.12 — Independent OCR agreement audit

Compare item codes from two independently scanned OCR outputs. Agreement is evidence, not proof. Disagreements and missing values stay unresolved. This audit never writes inventory.

2. Replay an existing diagnostic

Import the JSON you already exported. No OCR rerun needed. Reference invoices are deliberately not bundled in the public deployment. Reconstruction works entirely offline after the page loads.

Advanced diagnostic table (wide)
#Detected item codeProduct text (unverified)Qty/cost region (unverified)

3. Reconstruction diagnostics & safeguards

Compares both earlier generic reconstruction methods without hiding disagreements. A field is never accepted just because its text looks plausible. No inventory changes are possible.

4. Objective reference comparison

Select an invoice fixture to compare detected item codes. This measures item-code recovery only; it does not certify descriptions, quantities, prices, or totals. No supplier-specific parser is used.

3. Measured output

No scan yet.

Candidate rows (NOT verified inventory records)

YRaw textDetected quantities / amountsFlags
Complete OCR text — including discarded/uncategorized text
Individual positioned text segments

4. Ground-truth comparison

Enter expected product row count from the original invoice. This measures candidate-row detection, not field accuracy. All recognized text remains available for inspection.