Ok,solve it now. try to detect the space in the picture. the last part, is split to 2 by the space. so, if there is a space line of 3px width, it's not a regular pic, don't send to tesseract.
On Monday, April 22, 2013 3:52:00 PM UTC+8, Le Ji wrote: > > Example: my pic contain 6 digits. > but sometimes, 5 digits and a strange character. > Can I ask the tesseract to return me a '~' or '#' ,when it can't > reconginse it as digits? > > <https://lh4.googleusercontent.com/-rkuwAzMcWb8/UXTrcBePyTI/AAAAAAAAGZk/f5ejLQDeInw/s1600/1.jpg> > when i send this image to tesseract use: tesseract imagename outputbase > digits > a '002249' return. > can it be "00224#'? > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

