Package org.sikuli.core.search

Examples of org.sikuli.core.search.ImageSearcher


   
  }
   
  public static List<RegionMatch> searchButton(FourCornerModel model, BufferedImage testImage){ 
   
    ImageSearcher search = new ImageSearcher(testImage)
   
   
    double minSimilarity = 0.7;
    int numMatches = 40;
   
View Full Code Here


    return 0.9
  }
 
  @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

Related Classes of org.sikuli.core.search.ImageSearcher

Copyright © 2018 www.massapicom. 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.