I haven&#x27;t tested this, but the package <a href="https:&#x2F;&#x2F;github.com&#x2F;subokita&#x2F;Robust-Text-Detection" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;subokita&#x2F;Robust-Text-Detection</a> apparently implements methods described in the paper &quot;Robust Text Detection in Natural Images with Edge-Enhanced Maximally Stable Extremal Regions.&quot; by Chen, Huizhong, et al. (<a href="http:&#x2F;&#x2F;web.stanford.edu&#x2F;~hchen2&#x2F;papers&#x2F;ICIP2011_RobustTextDetection.pdf" rel="nofollow">http:&#x2F;&#x2F;web.stanford.edu&#x2F;~hchen2&#x2F;papers&#x2F;ICIP2011_RobustTextDe...</a>), which sounds like it might be the sort of thing you want.<p>In particular, the figure on the first page of the paper shows detection (not OCR) of a textual logo in a photo.