Artificial intelligence
AI OCR: check tables and numbers extracted from images
Check rows, identifiers, and calculations against the source image before importing an OCR-extracted table into a spreadsheet.
Check where every number belongs
A table extracted from an image can contain all the visible numbers while assigning them to incorrect rows. Reviewing OCR therefore means checking characters and position. Azure's Layout model documentation describes cells with row and column indexes. That structure helps locate a value, but does not remove the need to compare it against the original image and confirm the association you intend to use.
This walkthrough uses a fictional table of boxes and units that you can reproduce without personal documents. It is not a WWTech accuracy benchmark of any provider or recognition product.
Preserve the file and page reference
Before extraction, keep the original and identify the copy being processed. Record filename, page, and table region. For a multipage PDF, use a reference that will let another person locate the source of each row later.
Check whether you may send the material to the selected service. For practice, create a fictional table and capture it yourself without third-party information. If content must be concealed, verify what remains visible in the actual submitted copy. Drawing a mark in a viewer is not enough to establish that every file and layer has been handled in the same way or that the intended copy was selected.
Inspect the image before requesting another extraction
Enlarge the table and look for cropped edges, reflections, and indistinct characters. Check that headings and notes remain visible. Tesseract documentation warns that excessive page skew harms line segmentation. This supports checking orientation before treating every error as an unavoidable recognition limit or a fault specific to table processing. First establish whether the source itself offers a readable reference for comparison.
If cropping or straightening an image, work on a copy and record the transformation. Compare against the original, particularly around signs and separators. Enlarging a view does not confirm a digit that was already unreadable. When the source cannot resolve a question, mark uncertainty or seek a better image instead of completing a value because it seems likely to fit the surrounding data.
Choose output that preserves table structure
Check whether the tool extracts tables or only continuous text. Google Document AI states that Form Parser handles simple tables without cells spanning multiple rows or columns. That limit belongs to the documented product, not automatically to every service. Consult the version and feature actually used before expecting an identical result from another application or assuming that a familiar product name settles the question.
For a two-level header, first sketch which columns each heading covers. If output arrives as a word sequence, do not reconstruct the grid by guessing from spaces alone. Compare with page divisions.
Use rows that are easy to identify
Create four columns: Code, Boxes, Units per box, and Total units. Put A17, 12, 8, and 96 in the first row. Put B04, 3, 10, and 30 in the second. Their total units add to 126. These fictional values let you check row identity separately from arithmetic and observe what changes if a reading or position is wrong.
After extraction, locate A17 in the image and follow the entire row to its total. Repeat with B04. Confirm that 12 stayed under Boxes and that 8 belongs to the same row. An error can preserve the characters while moving a cell. Do not correct output from the spreadsheet's appearance alone; keep the image alongside it until this positional comparison is complete.
Treat identifiers and empty cells carefully
B04 is an identifier here, not a quantity. Preserve the zero and letter as shown in the source. If an identifier begins with zeros, importing it as a number may change its presentation, so inspect the destination application's chosen data type. A similar-looking identifier is not necessarily the same item, even when only one character separates them or the replacement appears more familiar.
Distinguish an empty cell, a zero, and an unreadable value. Define a review marker such as “pending” in a separate column rather than replacing all three cases with zero. Check negative signs and units where present. If the image gives no unit, do not supply one for convenience. Keep interpretation separate from what was actually read and confirmed, including cases where context makes a particular answer seem obvious.
Recalculate without treating the total as proof
In the example, 12 boxes containing 8 units each give 96 units. The 3 boxes containing 10 units give 30. Adding 96 and 30 gives 126. Repeat the calculations after checking inputs. Correct arithmetic applied to a misplaced cell can still describe the wrong row. Establish the relationship between each input and its heading before using the result in a later summary.
A matching total does not guarantee correct individual cells either. Two changes can offset one another in a sum. Compare each row before using the total as an additional check. If the original document presents a different result from your calculation, record the discrepancy. Do not silently change the source to make the figures reconcile or claim that OCR corrected the document's own mistake.
Check separators during import
Before using decimal values, identify the document's convention and the receiving application's settings. A comma might be treated as a field separator or part of a number. Check a small known sample by examining cell content and a simple calculation. Do not rely solely on its displayed format, which may conceal how the application interpreted the value or whether it remained text.
Preserve raw output separately from the prepared version. If exporting CSV, reopen a copy in the destination application and inspect headings, identifiers, and row count. This tests file transport as well as recognition. If reopening changes something, investigate import before running OCR again on an image already reviewed. Keep the two stages distinguishable so later corrections address the step that actually introduced the error.
Review page boundaries and corrections
When a table continues on another page, look for repeated headings and interrupted rows. Mark each part's source before joining them. A caption or subtotal may look like another data row when only exported text is visible. Check the first and last row on every page, along with points where the grid changes organization or the relationship between headings and values becomes less clear.
For relevant corrections, retain the reference, extracted value, and confirmed value. Keep uncertainty visible and define the review's scope. Checking two pages of a longer document should be described as such. Do not present a sample as certification of the complete file. The record should let another reviewer find the cell and understand why it changed without reconstructing your entire working session.
Deliver data with a review status
Before sharing, count expected rows and check fields that feed decisions or calculations. Identify confirmed values and those requiring another look at the source. Avoid hiding an unresolved question by deleting its row without explanation. Identify the delivered table version as well, so subsequent corrections do not disappear among copies or get mistaken for the unreviewed automatic output used at the beginning.
Retain the reference image as the purpose and permitted access allow. Useful output is traceable, with uncertainty still recognizable. After another extraction or import, repeat checks affected by that change. A visually clean table deserves the same scrutiny as disorganized output before it feeds another process. Appearance helps people work with the data; it does not establish that every value has been verified.
| Code | Boxes | Units per box | Total units |
|---|---|---|---|
| A17 | 12 | 8 | 96 |
| B04 | 3 | 10 | 30 |
| Sum | 126 | ||
Sources and references
- Google Document AI: tabelas no Form Parser
- Microsoft: modelo Layout e estrutura de tabelas
- Tesseract: qualidade da imagem e orientação
Source research: 2026-11-16 · Reviewed: 2026-11-16
Examples and checklists are not hands-on product tests.
Keep reading
WWTech uses AI tools for research, writing, and translation, with editorial source checks. The WWTech byline does not imply professional credentials or affiliation with manufacturers.