Both kombi OCR functions wrote word_result to DB but not to the in-memory cache. When detect-structure ran next, it found no words and passed an empty list to graphic detection, making all word-overlap heuristics ineffective. This caused green text words to be wrongly classified as graphic regions. Also adds a fallback in detect-structure to use raw OCR word lists if cell word_boxes are empty. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
206 KiB
206 KiB