cURL
curl --request POST \ --url http://localhost:4242/{computer_name}/api/display/locate \ --header 'Content-Type: application/json' \ --data '{ "confidence": 0.9, "display_num": 1, "image_path": "/path/to/image.png" }'
{ "x": 100, "y": 100, "width": 50, "height": 50 }
Searches for a specified image on the screen and returns its location if found.
Image search parameters
Path to the image file to locate on screen
"/path/to/image.png"
Confidence threshold for image matching (0.0 to 1.0)
0 <= x <= 1
0.9
Display number to target
1
Successfully searched for image