Simple tesseract and multiple rectangle cropping example. In this source code, i'm simply defining 3 rectangles and cropping them, and finally extracting text with OCR.
- download image from http://www.caremanagerpro.com/SiteDemo/demographics.htm as example.jpg
- Download code
npm i live-server -g
git clone https://github.com/kiichi/tesseract-rectangles.git
cd tesseract-rectangles
live-server
- Check the console.