I used the above mention function but got either 32767 or 0 values for the all the co-ordinates.
On Saturday, February 6, 2010 4:16:24 AM UTC+5:30, patrickq wrote: > > Looks like I missed that one ... better late than never! Yes, the > coordinates are returned in units of pixels. > > On Jan 7, 2:48 pm, jdevelop <[email protected]> wrote: > > On Jan 7, 9:22 pm, patrickq <[email protected]> wrote: > > > > > Yes, look up the definition of TesseractExtractResults: it returns the > > > set of boxes for all characters it recognized, with blank characters > > > (ascii 32) between words or lines (you have to map to a space or to a > > > newline based on the X & Y coordinates of the box before and after the > > > delimiter). > > > > Hello, Patrick! > > > > Thank you for the quick response. May be you can also tell me what are > > the units > > for x0,y0,x1,y1 used? Are those pixels or something else? > > > > static int TesseractExtractResult(char** string, > > int** lengths, > > float** costs, > > int** x0, > > int** y0, > > int** x1, > > int** y1, > > PAGE_RES* page_res); > > > > Thank you! > > > > -- > > Eugene > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

