region with finder
Hi i am having one screenshot with specific region and i am trying to find one image inside that region it is possible
IMP.. Specific region will take screenshot in runtime and in that image we need to find expected image.
WebElement elmt = driver2.
BufferedImage regionsetimage = regionset.
ImageIO.
Pattern Capimage = new Pattern(
Region reg1 = screen.
String a = reg1.toString();
Finder f = new Finder(
Pattern image = new Pattern(
f.find(image);
System.
This is always running even the image is not present in that region also can u give any better solution for this
My Aim is -- I need to find image in that bufferedimage which is set as region. i don't want to search for that image in web screen. i need to find or search for image in side that captured image which is captured as region in my localpath.
Kindly excepting your reply
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: