sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49332
Re: [Question #676086]: Ocr not always working
Question #676086 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676086
Status: Open => Answered
RaiMan proposed the following answer:
imgGreyResized = imgGrey.resize(3)
must be
imgGreyResized = imgGrey.resize(imgGrey, 3)
Since both methods are static methods of class Image, correct usage
would be:
imgGrey = Image.convertImageToGrayscale(img1.get())
imgGreyResized = Image.resize(imgGrey, 3)
or short:
img1 = Image.create(capture(rValAV))
imgGreyResized = Image.resize(Image.convertImageToGrayscale(img1.get()), 3)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.