Skip to content
Yavuz Çelik
  • About
  • Skills
  • Projects
  • Experience
  • Contact
TR/EN

© 2026 Yavuz Çelik. All rights reserved.

←Projects

ACADEMIC

FormReader — Extracting Data from Handwritten Production Forms

A hybrid OCR system that turns handwritten Turkish production forms into structured, reviewable data. It is the subject of my M.Sc. research at Sakarya University.

CATEGORY
Academic
STACK
  • Python
  • PaddleOCR
  • SVTR + CTC
  • OpenCV
  • Vision-Language Models
  • QLoRA
  • React
  • .NET
  • PostgreSQL
NOTES
Research · accepted at ICEECIT 2026 · ongoing
  1. Scanned formhandwritten · Turkish
  2. Geometric normalizationtemplate-first
  3. Cell extractioncanonical cells
  4. OCRVLM
    RecognitionSVTR + CTC · VLM for free text
  5. Quality layerauto-accept · human review
  6. Structured dataExcel · JSON
FIG. 1FormReader pipeline: from a scanned handwritten form to structured data. The quality layer sends each field to automatic acceptance or human review.

ON THIS PAGE

  1. 01Problem
  2. 02Solution
  3. 03Technical Details
  4. 04Evaluation
  5. 05Publication

01Problem

In manufacturing plants, downtime durations, downtime causes and scrap counts are still written onto paper forms by hand and retyped into a spreadsheet later. Because these values feed downtime and OEE calculations, a wrong value written silently to a database costs more than a rejected one.

02Solution

I built a hybrid pipeline that routes each field to a recognition path suited to its type and attaches a quality decision to every output. The form is first aligned to its template and fields are read from their own cells; a quality layer then sends each value either to automatic acceptance or to a human review queue. The system does not promise guaranteed accuracy; it measures its uncertainty.

03Technical Details

  • Template-first geometric normalization: canonical cell coordinates, row-band alignment and a scale correction fitted to the form's ruled lines
  • Two PaddleOCR recognizers run side by side: the stock PP-OCRv5 for printed text and a PP-OCRv4 SVTR+CTC model fine-tuned with a 105-character Turkish dictionary for handwriting
  • The recognizer was pre-trained on 200K synthetic line images, then fine-tuned in stages on real handwriting
  • A compact vision-language model (Qwen2.5-VL-3B) fine-tuned with QLoRA for free-text descriptions; this branch was evaluated offline
  • Type-aware post-processing: look-alike character repair, date parsing, closed-set projection
  • Selective prediction: a writer-disjoint logistic calibrator, semantic checks and an arithmetic consistency rule that compares the sum of row minutes with the header total
  • A character n-gram TF-IDF and logistic regression classifier that groups downtime descriptions into categories
  • A React + .NET web application dispatches OCR jobs to a Python core running on CPU; results and review actions are stored in PostgreSQL and exported as Excel and JSON

04Evaluation

  • The corpus has 39 forms of one form family from 13 volunteer writers; four writers were held out of training
  • On the four unseen writers, field-level exact match is 85.6% (form-level 95% confidence interval 81.1–90.6) and character accuracy is 95.4%
  • The same recognizer went from 53.3% to 85.6% exact match without retraining; most of the gain came from cell localization and closed-set post-processing rather than from a larger model
  • When the 39 scans were replayed through the deployed service, 49.1% of fields were accepted automatically and one of those 287 fields was wrong; 24 of the 62 misread values in the review queue were still in the record after review
  • Limits: one form family, 13 writers, one annotator. The holdout was monitored while the pipeline was designed, so it is not a blind test

05Publication

Y. Çelik, S. Çakar Kaman, "Writer-Independent Hybrid OCR with Selective Prediction for Handwritten Turkish Production Forms". Accepted for ICEECIT 2026 (19–20 November 2026).

The research is supported by Sakarya University BAP (Project No. 2026-29-86-214).

Next project→

Multi-Tenant B2B/B2C E-Commerce Platform