google_lens_detect
Detect and identify multiple objects in an image by cropping each object separately and querying Google Lens for individual identification.
Instructions
Detect and identify all objects in an image using OpenCV object detection and Google Lens.
Unlike google_lens which sends the full image, this tool:
Uses OpenCV to detect distinct objects/regions in the image
Crops each object separately
Sends the original image AND each crop to Google Lens
Returns identification results for each object
This is useful when an image contains multiple items (e.g. a monitor AND a hardware device) and you want each identified separately.
Supports local file paths and base64-encoded image data (from drag-and-drop).
Sample prompts that trigger this tool: - "Detect and identify all objects in this image: /path/to/photo.jpg" - "What are all the items in this photo?" (with image dragged into chat) - "Identify each object separately in /path/to/setup.jpg"
Args: image_source: Local file path or base64-encoded image data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |