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
Successfully searched for image
The response is of type object.
object