Vision Eyes — локальный разбор изображения
vision_eyesAnalyze images locally for AI agents: get detailed breakdowns, pixel colors, crops, coordinate grids, image comparisons, and zero-shot classification without cloud APIs or keys.
Instructions
LOCAL image eyes for AI agents. No cloud, no API keys, no payments — Pillow+numpy only. action='analyze' gives full breakdown (size, brightness, RGB stats, dominant colors, 3x3 grid, brightness histogram, homogeneous regions with bboxes, sharpness, edge density). action='pixel' returns exact color at x,y + neighborhood. action='crop' saves an enlarged crop so the agent can look closer with its own vision. action='grid' saves a coordinate-grid overlay. action='compare' diffs two images. action='classify' gives the FINAL name of the object via local CLIP zero-shot (needs optional local-ai install, still no cloud; pass labels='a, b, c' for exact candidates, e.g. labels='T-34 tank, M46 Patton tank, Tiger tank'). Give image_path OR image_url OR image_base64 (chat attachments as base64/data-URL work). Coordinates: x 0..W-1 left->right, y 0..H-1 top->bottom.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | x для pixel | |
| y | No | y для pixel | |
| x0 | No | crop left | |
| x1 | No | crop right | |
| y0 | No | crop top | |
| y1 | No | crop bottom | |
| lang | No | ru | en | ru |
| scale | No | Увеличение кропа 1-8 | |
| action | No | analyze | pixel | crop | grid | compare | classify | analyze |
| detail | No | standard | deep | ultra | deep |
| labels | No | Кандидаты для classify через запятую, напр. 'T-34 tank, Tiger tank' | |
| grid_step | No | Шаг сетки в px | |
| image_url | No | HTTP(S) URL картинки | |
| image_path | No | Локальный путь к файлу | |
| image_url2 | No | Второй URL для compare | |
| output_dir | No | Куда сохранять crop/grid | |
| image_path2 | No | Второй файл для compare | |
| image_base64 | No | base64 (можно data:image/..;base64,..) | |
| image_base642 | No | Второй base64 для compare |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |