'Read text from neighbouring block using pytesseract

Click to view Scanned form

I have done text extraction from image/scanned form now pytessarect reads this highlighted boxes in non sequential order. mean I got Date Attended - from text block then Date Attended - to text block and i want to read like Date Attended - from then 05-Mar-2013 like this.

I can't figure-out the highlighted text reading sequence of pytessarect.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source