Package qa.justtestlah.visual
Interface TemplateMatcher
-
- All Known Implementing Classes:
AppiumTemplateMatcher
,OpenCVTemplateMatcher
public interface TemplateMatcher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Match
match(String targetFile, String templateFile, double threshold)
Check whether the template appears anywhere within the target image.Match
match(String targetFile, String templateFile, double threshold, String description)
Check whether the template appears anywhere within the target image.
-
-
-
Method Detail
-
match
Match match(String targetFile, String templateFile, double threshold)
Check whether the template appears anywhere within the target image.- Parameters:
targetFile
- path to the target filetemplateFile
- path to the template filethreshold
- matching threshold- Returns:
Match
-
match
Match match(String targetFile, String templateFile, double threshold, String description)
Check whether the template appears anywhere within the target image.- Parameters:
targetFile
- path to the target filetemplateFile
- path to the template filethreshold
- matching thresholddescription
- of the check- Returns:
Match
-
-