Skip to main content
POST
/
api
/
display
/
locate
Locate Image on Screen
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
}

Body

application/json
image_path
string
required
Example:
confidence
number
default:0.9
Required range: 0 <= x <= 1
Example:
display_num
integer
default:1
Example:

Response

{key}
integer