← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #665797]: Image reconition not working after Settings.OcrTextRead = true;

 

Question #665797 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/665797

Description changed to:
Installed using 2 & 3 option checked


Settings.OcrTextRead = true;
			Settings.OcrTextSearch = true;
			
			for(int i = 0; i < 4; i++) {
				Thread.sleep(3000);
				Rectangle rectangle = new Rectangle(500, 550+(i*25), 75, 20);
				screen.setRect(rectangle);
				String xx= screen.text();
				xx= xx.substring(1);
				System.out.println("$"+xx);
			}
			
			Settings.OcrTextRead = false;
			Settings.OcrTextSearch = false;
			Pattern scrollDown = new Pattern(iconPath + "scrolldown.png");
			screen.mouseMove(scrollDown);
			screen.click();

FindFailed: D:/Users/xxxx/xxxxxx/images/scrolldown.png: (74x21) in S(0)[0,0 1366x768] E:Y, T:3.0
  Line 2759, in file Region.java

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