I am trying to train my image and I am getting blow issue while using JavaOCR



java.io.IOException: Expected to decode 94 characters but actually decoded 25 characters in training: C:\Users\Pictures\ti\ascii.png

at net.sourceforge.javaocr.ocrPlugins.mseOCR.TrainingImageLoader.load(TrainingImageLoader.java:107)

at net.sourceforge.javaocr.ocrPlugins.mseOCR.TrainingImageLoader.load(TrainingImageLoader.java:83)

at OCRScannerDemo.loadTrainingImages(OCRScannerDemo.java:62)

at OCRScannerDemo.main(OCRScannerDemo.java:164)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (327 points)
reshown by
0 votes
Best answer

I could resolve this by adding space between charactors.