Which OS is using? It appears that resolution=72 is poor - it should be more than 300 dpi - try again. One more thing the commandline should be like this "tesseract fontfile.tif fontfile nobatch box.train.stderr", if you are using tesseract svn-319 otherwise is OK. please upload sample tif file with its box. Cheers.
On Mon, May 10, 2010 at 12:44 AM, faster589 <[email protected]> wrote: > Hi ! I'm training tesseract for character plate recognition. I have > create the two file image.tif and image.box for training tesseract but > when i lunch the command tesseract fontfile.tif junk nobatch > box.train.stderr tesseract return this error: > > Tesseract Open Source OCR Engine > Image has 8 * 3 bits per pixel, and size (640,480) > Resolution=72 > APPLY_BOXES: boxfile 1/1/C ((188,216),(218,272)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: boxfile 1/2/C ((220,216),(253,272)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: boxfile 1/3/1 ((274,215),(299,273)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: boxfile 1/4/5 ((304,217),(337,274)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: boxfile 1/5/4 ((337,217),(367,273)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: boxfile 1/6/B ((369,215),(401,273)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: boxfile 2/1/E ((399,216),(434,274)): FAILURE! box > overlaps no blobs or blobs in multiple rows > APPLY_BOXES: More than one block?? > APPLY_BOXES: FATALITY - 0 labelled samples of "C" - target is 2: > C:[43] > APPLY_BOXES: FATALITY - 0 labelled samples of "1" - target is 1: > 1:[31] > APPLY_BOXES: FATALITY - 0 labelled samples of "5" - target is 1: > 5:[35] > APPLY_BOXES: FATALITY - 0 labelled samples of "4" - target is 1: > 4:[34] > APPLY_BOXES: FATALITY - 0 labelled samples of "B" - target is 1: > B:[42] > APPLY_BOXES: FATALITY - 0 labelled samples of "E" - target is 1: > E:[45] > APPLY_BOXES: > Boxes read from boxfile: 7 > Initially labelled blobs: 0 in 0 rows > Box failures detected: 7 > Duped blobs for rebalance: 0 > "C" has fewest samples: 0 > Total unlabelled words: 0 > Final labelled words: 0 > Generating training data > Generated training data for 0 blobs > > How can i solve? > > -- > 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]<tesseract-ocr%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tesseract-ocr?hl=en. > > -- 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.

