Selected work

Research · IEEE TUAC 2021

Finding the line before reading the words.

A line-segmentation method for handwritten text recognition, benchmarked on the IAM dataset and built around debuggable separation of concerns.

Domain
Handwritten text recognition
Dataset
IAM handwriting database
Publication
IEEE TUAC, 2021
Focus
Line segmentation

Problem

Recognition gets easier once the page is divided correctly.

Handwritten pages contain irregular spacing, slanted baselines, touching marks, and writer-specific structure. Before a recognizer can transcribe a line, the system must decide where that line begins and ends.

The research separated line segmentation from recognition, making it possible to inspect whether an error came from locating the text or reading it.

Method

A debuggable sequence instead of one opaque prediction.

PageLine mapSegmentsRecognitionEvaluate
  • Start with a complete handwritten page from the benchmark dataset.
  • Estimate line structure and separate the page into candidate segments.
  • Pass well-isolated lines to the recognition stage.
  • Evaluate the stages independently to expose the actual source of error.

Lesson

Clean boundaries make failures useful.

The enduring lesson was architectural. Separating concerns made the system easier to improve because the failure signal stayed connected to a specific decision.

That pattern carries directly into current AI engineering: isolate stages, preserve evidence, and make the uncertain boundary visible enough to review.

Five years on

The training data deserved even more attention.

Revisiting the work, I would spend less time tuning segmentation heuristics and more time examining underrepresented handwriting styles. Many errors reflected the shape of the dataset more than the novelty of the architecture.

Read the retrospective