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