clarkk
clarkk

Reputation: 27709

Tesseract API - get each text box with position

I need to write a program which can get each text box from an image

I need the text and the position from each text box in same way as tesseract hocr does

Could anyone give me some hints or even better a link to an example explaining how to do it :)

Upvotes: 0

Views: 4709

Answers (1)

nguyenq
nguyenq

Reputation: 8355

ResultIterator API was designed to provide such data. Check out Tesseract APIExample codes.

Upvotes: 1

Related Questions