Package org.sikuli.core.search

Examples of org.sikuli.core.search.ImageSearcher.search()


  @Override
  protected List<ScreenRegion> getUnorderedMatches(ScreenRegion screenRegion){
    ImageSearcher searcher = new ImageSearcher(screenRegion.capture());
    ImageQuery query = new ColorImageQuery(targetImage);
    ScoreFilter<RegionMatch> filter = new ScoreFilter<RegionMatch>(getMinScore());
    List<RegionMatch> topMatches = searcher.search(query, filter, getLimit())
    return convertToScreenRegions(screenRegion, topMatches);
  }
 
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.