display

Locate Image on Screen

Changed on

Searches for a specified image on the screen and returns its location if found.

post/api/display/locate

Request

  • Base URL
    http://localhost:4242/your-computer-name
  • URL
    http://localhost:4242/your-computer-name/api/display/locate
  • Auth
    none declared

Request body

image_pathstring required

Path to the image file to locate on screen

confidencenumber

Confidence threshold for image matching (0.0 to 1.0)

display_numinteger

Display number to target

Example request

{
  "confidence": 0.9,
  "display_num": 1,
  "image_path": "/path/to/image.png"
}

Response

Successfully searched for image

object nullable required

Changes