I am using tess4j 4.0.0 to process the image and pdf files.
For multiple page files if i use TessBaseAPIGetComponentImages(), all the boxa from all the pages will be returned,right?
If so how can i distinguish the boxes from different pages?
Also if I use TessBaseAPISetRectangle() and TessBaseAPIGetUTF8Text() how can i know the page number for the returned text?
Thanks!