Vision API
Provides an API for automating vision-related tasks like detecting screen changes, reading on-screen text, etc.
vision.binary_search
Signatures
binary_search(images, test_func)
Description
Binary search for an ordered series of images.
If the test_func
returns true
, the search will continue to the left (earlier in the list),
and if it returns false
, the search will continue to the right (later in the list).
vision.compare
Signatures
compare(arg)
compare(arg1, arg2)
Description
In general, a hamming distance of less than 10 indicates that the images are very similar. A distance of less than 20 suggests the images are quite similar. Any other distance suggests the images have little in common.