title: Formatting Tesseract output to get correct number
body: <p>I'm using Tesseract to get textual data from images. In particular, I want to get numbers.</p>
  <p>Using Tesseract, I generate a DataFrame with boundind boxes and text (I need both). However, in images most numbers use space as decical sepator. This leads Tesseract to interpret it as numerous different numbers instead of one.</p>
  <p>Image Example :
  <a href="https://i.stack.imgur.com/IgazC.png" rel="nofollow noreferrer">Number Example</a></p>
  <p>Code Sample:</p>
  <pre><code>from PIL import Image
  import pytesseract
  
  image = Image.open('../data/number.PNG')
  ocr_df = pytesseract.image_to_data(image, output_type='data.frame', lang='fra')
  ocr_df.dropna()
  </code></pre>
  <p>Output:
  <a href="https://i.stack.imgur.com/HK91L.png" rel="nofollow noreferrer">DataFrame</a></p>
  <p>This is a small example, in practice I work with large images with much more text so it's not trivial to concat close numbers.</p>
  <p>Is there an easy way to concat them ? Using a Tesseract config for example. Or do I need to manually post-process the numbers to concat them by looking at the bounding boxes ?</p>
  <p>Thank you!</p>
  <p>Edit : Added code sample.</p>