← Back to team overview

sikuli-driver team mailing list archive

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:
I am talking about the class
org.sikuli.script.Image

static means static in the Java class

... but there seems a confusion when using from the Jython level.

this works:
img1 = Image.create(capture(rValAV))
imgGreyResized = Image(Image(Image.convertImageToGrayscale(img1.get())).resize(3))

the resize() has to be applied to an Image instance.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.