The first hash to compare
The second hash to compare
A promise with the hamming distance from hashA to hashB
The area on the screen where to take the hash.
Controls the hash size. Larger hash sizes will be more sensitive to changes. Exceeding a value of 3 will result in a very slow calculation and is not recommended. Must be a positive integer.
A promise resolving with the hash of the selected area
The area on the screen to monitor for changes
The distance between subsequent hashes required to trigger the callback. Must be a positive integer.
The delay in milliseconds between checks. Must be a positive integer.
-controls the hash size. Larger hash sizes will be more sensitive to changes. Exceeding a value of 3 will result in a very slow calculation and is not recommended. Must be a positive integer.
Specifies the type of hash to use
The function called when the distance between hashes results in a value higher than the specified threshold value.
The area on the screen to monitor for changes
The required difference to trigger the callback. Ranges from 0-1.
The delay in milliseconds between checks. Must be a positive integer.
The function to call when a change is detected
The required difference to trigger the callback. Rnages from 0-1.
The delay in milliseconds between checks. Must be a positive integer.
The function to call when a change is detected
Performs screen OCR and returns recognized text ressults.
A Promise resolving with the text results as a string.
It takes a base64 encoded string from reading the image file
The string of Base64 encoded image
A Promise resolving with the text results as a string.
Generated using TypeDoc
Screen aptitude allows Loops to enable Optical character recognition ability.