Bui Thanh Chien
← All work

Data entry and PDF extraction · demo project, fictional source

Scanned pages typed into Word and Excel, with the accuracy measured

Five scanned pages (two typed, two handwritten, one stock table) were typed into Word, plain text and Excel. Every figure below was counted against a ground-truth copy. Words the OCR engine was unsure about were flagged, and I checked each flagged word against a crop of the page.

Open the proof:

The problem

Scans are slow to retype and easy to mistype: a swapped digit in a price or a date is hard to spot later. Clients ask how many mistakes to expect, and a promise is not a number.

What I did

Standards met

StageCharacters correctWords correctFields correct
Plain OCR text97.51%80.52%not scored
After the machine clean-up99.35%94.61%110 of 119 (92.44%)
Delivered, after my review of 71 flagged words99.90%99.48%118 of 119 (99.16%)

A script compares each stage with the ground truth (3098 characters, 575 words). Fields are 74 table cells on page 5 plus 45 amount, date, time and count tokens on pages 1-4. Measured on 25 November 2026, scope: this 5-page fictional sample.

How it was tested

Screens

Handwritten page 3 of the fictional scan
Handwritten page 3 of the scan (fictional).
A smudged word with a red box, as I saw it
A flagged smudged word as I saw it. Delivered as unclear, best reading kept.
Page 5 of the fictional scan, a stock count table
Page 5, the stock count table that became the Excel sheet.

Downloads

Known limits

Last checked: 25 November 2026.

Built with: RapidOCR (rapidocr_onnxruntime 1.4.4), PyMuPDF 1.28.2, python-docx 1.2.0, openpyxl 3.1.5, Python 3.11