Skip to main content
Glama

find_by_image

Locate visual elements on a page using image template matching when DOM selectors are unavailable. Returns coordinates of best match.

Instructions

⭐ Find an image on the current page via OpenCV template matching.

Takes a fresh screenshot, matches against template_path image, returns
(x, y) center of best match. Use for finding visual buttons/icons when
DOM selectors aren't available.

Returns JSON: {"found": true, "x": ..., "y": ..., "score": ..., "template": "..."}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_pathYes
thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RobithYusuf/mcp-stealth-chrome'

If you have feedback or need assistance with the MCP directory API, please join our Discord server