Detect Objects
detect_objectsIdentify objects in an image and return normalized bounding-box coordinates for each detected item.
Instructions
Detect objects in an image with bounding boxes.
Uses Gemini's zero-shot object detection. Returns bounding box coordinates normalized to 0-1000 scale as [y_min, x_min, y_max, x_max].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Analysis model override. Default gemini-3.5-flash-lite. Use gemini-3.8-flash for harder OCR or reasoning. | |
| objects | No | Specific objects to detect (e.g. "cats and dogs"). Default: detect all visible objects. | |
| image_path | Yes | Path to the image | |
| use_grounding | No | Enable Google Search grounding for more accurate, factual results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||