---
title: "Locate Image on Screen"
method: POST
path: "/api/display/locate"
tags: ["display"]
---

# Locate Image on Screen

`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

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

## Request body

- ImageLocateRequest
  - `image_path` string, required: Path to the image file to locate on screen
  - `confidence` number: Confidence threshold for image matching (0.0 to 1.0)
  - `display_num` integer: Display number to target

## Response `200`

Successfully searched for image

- object, nullable

## Other responses

- `422`: Validation Error
- `500`: Internal server error

## Changes

- **2026-07-13** `5424450258fc`: 1 info
  - endpoint added
- **2025-01-13** `a2d864f3a8db`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/cuse-dev/apis/cuse-apps-api/changes/api/display/locate/post.md)

---

[API](https://skmtc.dev/cuse-dev/apis/cuse-apps-api.md) - [All operations](https://skmtc.dev/cuse-dev/apis/cuse-apps-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cuse-dev/apis/cuse-apps-api/revisions/5424450258fc?raw)
