Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
892 views
in Programming by
edited by

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 like 0 dislike
by The go-to Tester (327 points)
reshown by
 
Best answer

I could resolve this by adding space between charactors.


 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...