public class FeaturesMatchingOptions extends BaseComparisonOptions<FeaturesMatchingOptions>
Constructor and Description |
---|
FeaturesMatchingOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Builds a map, which is ready to be passed to the subordinated
Appium API.
|
FeaturesMatchingOptions |
withDetectorName(FeatureDetector name)
Sets the detector name for features matching
algorithm.
|
FeaturesMatchingOptions |
withGoodMatchesFactor(int factor)
Sets the maximum count of "good" matches (e.
|
FeaturesMatchingOptions |
withMatchFunc(MatchingFunction name)
Sets the name of the matching function.
|
withEnabledVisualization
public FeaturesMatchingOptions withDetectorName(FeatureDetector name)
name
- the detector name for features matching.public FeaturesMatchingOptions withMatchFunc(MatchingFunction name)
name
- the name of the matching function.public FeaturesMatchingOptions withGoodMatchesFactor(int factor)
factor
- the "good" matches factorpublic java.util.Map<java.lang.String,java.lang.Object> build()
BaseComparisonOptions
build
in class BaseComparisonOptions<FeaturesMatchingOptions>