<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>sandreas</author><text>If you are trying to detect text from document images &amp;#x2F; photos: tesseract is strongly focused mainly on the OCR part of the whole preprocessing(1). If you would like to get better results on that, you could use the wolf binarization tool (2) as an easy adaptive thresholding to remove shadows and uneven areas, which should improve your OCR results a lot on document photos!&lt;p&gt;(1): &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;towardsdatascience.com&amp;#x2F;pre-processing-in-ocr-fc231c6035a7&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;towardsdatascience.com&amp;#x2F;pre-processing-in-ocr-fc231c6...&lt;/a&gt;
(2): &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;chriswolfvision&amp;#x2F;local_adaptive_binarization&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;chriswolfvision&amp;#x2F;local_adaptive_binarizati...&lt;/a&gt;</text><parent_chain></parent_chain></comment><story><title>Tesseract OCR</title><url>https://github.com/tesseract-ocr/tesseract</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>simonw</author><text>I finally figured out how to use the Tesseract CLI utility on macOS today (installed from Homebrew). It&amp;#x27;s really neat - you can use it to turn a PNG into a PDF with embedded text, which you can then copy-and-paste: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;til.simonwillison.net&amp;#x2F;tesseract&amp;#x2F;tesseract-cli&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;til.simonwillison.net&amp;#x2F;tesseract&amp;#x2F;tesseract-cli&lt;/a&gt;&lt;p&gt;I learned about it from this post: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;alexn.org&amp;#x2F;blog&amp;#x2F;2020&amp;#x2F;11&amp;#x2F;11&amp;#x2F;organize-index-screenshots-ocr-macos.html&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;alexn.org&amp;#x2F;blog&amp;#x2F;2020&amp;#x2F;11&amp;#x2F;11&amp;#x2F;organize-index-screenshots...&lt;/a&gt;</text><parent_chain></parent_chain></comment><story><title>Tesseract OCR</title><url>https://github.com/tesseract-ocr/tesseract</url></story>