Find template
Try it interactively →POST /api/image-find-templateLocate a template image inside a larger one. Returns the best match position and a confidence score. Useful for UI testing and finding logos in screenshots.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | Haystack image bytes. |
| template* | file | — | Template (needle) image bytes — must be smaller than `image`. |
| method | enum (ccoeff_normed | sqdiff_normed | ccorr_normed) | "ccoeff_normed" | Matching method. |
| threshold | number (-1…1) | 0 | Optional score threshold for `found` (default 0 = always report). |
Response
Modes: json. Cache: yes (24h TTL).