From 52e5c14f189c954efd62e263e59cedf133192fc6 Mon Sep 17 00:00:00 2001 From: mARTin-B78 Date: Mon, 21 Sep 2026 09:45:59 +0200 Subject: [PATCH] docs(todo): overhaul magazine region boxes and OCR approval handling Co-Authored-By: Claude Opus 5 --- TODO.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO.md b/TODO.md index e79284d..750ca6a 100644 --- a/TODO.md +++ b/TODO.md @@ -69,6 +69,18 @@ not part of this order. read, or type a number into each one. The order drives playback and the OCR-results list. Today the order is whatever the layout analysis produced, and a page with two text columns comes out interleaved, so a listener hears half a sentence from the wrong column. +- [ ] **L — Magazine: overhaul region boxes and how they are handled in OCR and approval.** + The boxes the layout analysis produces need a pass of their own, on top of the ordering work + above. Seen on real pages: a byline box that runs on into the first body line ("Von Hartmut + Gieselmann Ein guter Butler kennt die Vorlieben seines"), so author and paragraph both come + out wrong; boxes nested inside a figure and OCRed as separate headlines/captions ("Apple + Intelligence" on the slide in the photo); sliver boxes holding OCR noise ("mtavt;-:,!«"); + overlapping boxes that fight over the same lines; and running heads/footers picked up as + regions every time. Wanted: snap boxes to the real text block, split or merge where a box + crosses a paragraph or column edge, drop or fold in regions inside a figure, discard + degenerate slivers, and make the approval screen quick to correct — keyboard moves between + regions, merge/split in place, and a retype/re-OCR of one region without leaving the page. + - [ ] **M — Magazine: read text columns top-to-bottom, then left-to-right.** Group detected text regions into columns first, order each column downwards, then take the columns left to right (mirroring for RTL). Confirmed wrong on page 38 of issue 204: the left column's paragraphs and