@@ -47,7 +47,7 @@ module ImageComparison
47
47
# not available in the default OpenCV installation and have to be enabled manually
48
48
# before library compilation. The default detector name is 'ORB'.
49
49
# @param [String] match_func The name of the matching function. The default one is 'BruteForce'.
50
- # @param [String] good_matches_factor The maximum count of "good" matches (e. g. with minimal distances).
50
+ # @param [String, nil ] good_matches_factor The maximum count of "good" matches (e. g. with minimal distances).
51
51
# The default one is nil.
52
52
# @param [Bool] visualize Makes the endpoint to return an image, which contains the visualized result of
53
53
# the corresponding picture matching operation. This option is disabled by default.
@@ -94,7 +94,7 @@ def match_images_features(first_image:,
94
94
# are supported.
95
95
# @param [Bool] visualize Makes the endpoint to return an image, which contains the visualized result of
96
96
# the corresponding picture matching operation. This option is disabled by default.
97
- # @param [Float] threshold [0.5] At what normalized threshold to reject
97
+ # @param [Float, nil ] threshold [0.5] At what normalized threshold to reject
98
98
#
99
99
# @example
100
100
# @driver.find_image_occurrence full_image: "image data 1", partial_image: "image data 2"
@@ -144,7 +144,7 @@ def get_images_similarity(first_image:, second_image:, visualize: false)
144
144
# +:matchFeatures is by default.
145
145
# @param [String] first_image An image data. All image formats, that OpenCV library itself accepts, are supported.
146
146
# @param [String] second_image An image data. All image formats, that OpenCV library itself accepts, are supported.
147
- # @param [Hash] options The content of this dictionary depends on the actual +mode+ value.
147
+ # @param [Hash, nil ] options The content of this dictionary depends on the actual +mode+ value.
148
148
# See the documentation on +appium-support+ module for more details.
149
149
# @return [Hash] The content of the resulting dictionary depends on the actual +mode+ and +options+ values.
150
150
# See the documentation on +appium-support+ module for more details.
0 commit comments