Hi Leah, I am having a similar issue to recognize raster fonts. Could you share your progress? Thanks!
在 2015年4月23日星期四 UTC+8下午2:38:29,Leah Siddall写道: > > Hi all! > > I am not having luck with tesseract and the fonts used in NES games like > Super Mario Bros. 3. ( i've attached an example screenshot ). > My goal is scrape a screenshot for the "score" and "time remaining". The > idea is to feed that into a database during a competition to minimize > cheating. > > I've tried cropping, resizing, grayscale, and negating with PNG, TIF, JPG, > and PNM formats then going through every PSM mode on each with poor > results. > The original screenshot is PNG 4800 × 3600 pixels at 144 pixels/inch > straight from the emulator which is like the best possible situation. > > Just trying to get a baseline, I tried against the "Punch Out" screenshot > ( attached ) where the fonts are clearly spaced and lots of empty space. It > would get "CDHTIHUE" and "Nintendo", but totally missing the word "new" > between the boxing gloves and and jumbling the year numbers. > > To rule out user error, I did run against other images with more standard > fonts and had no problems. > > I'm quite comfortable with imagemagick but very new to tesseract. > I am using tesseract version from "brew install tesseract -HEAD" on > OSX 10.10.2 > tesseract 3.04.00 > leptonica-1.71 > libjpeg 8d : libpng 1.6.16 : libtiff 4.0.3 : zlib 1.2.5 > > This would be really really cool to pull off if possible. any suggestions > are greatly appreciated. > thanks!! -leah > -- 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]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/4efd2ea3-f6d3-4787-92a4-cd889ad7b096%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

