Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
Expected to decode 94 characters but actually decoded 25 characters in training

Solved 1 Answers 643 Views Programming
0 1

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

loadTrainingImages(C:\Users\Pictures\ti)

ascii.png

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)

1 Answer

0
Best answer
0

I could resolve this by adding space between charactors.


 

answered by (327 points)
reshown by

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.
...