A pre-OCR gate that decides whether to upscale a screenshot needs one number from the image itself: how tall the text is in pixels. The two cheapest ways to get it are a horizontal projection profile and connected components, both a few lines of OpenCV. On clean Chinese renders both stayed within 2 px of the true height up to 30 px; above that... Weiterlesen: Estimating text height before OCR: connected components held up where…
Intelligence View
⚡ tsecurity.de Intelligence
Estimating text height before OCR: connected components held up where projection didn't
A pre-OCR gate that decides whether to upscale a screenshot needs one number from the image itself: how tall the text is in pixels. The two cheapest ways to…
Intelligence Digest — kostenlos Täglich die wichtigsten Security-News · jederzeit abbestellbar