tesseract OCR output words bounds
<p>How to output words bounds using tesseract command line with config file?</p>

<p>So far I been able to output chars using </p>

<pre><code>tesseract image.png myBox makebox
</code></pre>

<p>This created a myBox.box file that looks like this:</p>

<pre><code>N 51 1844 75 1874 0
o 80 1843 100 1867 0
S 113 1843 136 1875 0
I 140 1844 145 1874 0
M 151 1844 181 1874 0
c 197 1843 216 1867 0
a 219 1843 238 1867 0
r 243 1844 254 1867 0
d 256 1843 275 1876 0
</code></pre>

<p>How ever those only chars and I need words, so I been able to combine it with standard output</p>

<pre><code>tesseract image.png myBox
</code></pre>

<p>This creates a file like this:</p>

<pre><code>no simcard
</code></pre>

<p>Combining those two outputs I can get words bounds. How ever I prefer to find a method that does not require examining the same image twice. Please help</p>