An agent must detect objects in product images. Which API fits?
Why B is the answer
Cloud Vision API
Cloud Vision analyzes images.
In detail
- Cloud Vision detects objects in images.
- It analyzes images.
Use case
An illustrative scenario, not a real incident.
A retailer's agent identifies products in photos through the Cloud Vision API.
See it in different ways
sequenceDiagram participant U as User participant A as Agent participant T as Tool or data store U->>A: Goal A->>T: Call a function or extension T-->>A: Result A-->>U: Answer or action
sequenceDiagram participant U as User participant A as Agent participant T as Tool or data store U->>A: Goal A->>A: Reasons about the next step A->>T: Uses a tool T-->>A: Result A-->>U: Outcome
flowchart LR S0["Product photo"] --> S1["Cloud Vision API"] --> S2["Detected objects"]
Key point: Cloud Vision analyzes images.
Why the other options are wrong
- A. Document Translation API
- That translates documents.
- C. Natural Language API
- That analyzes text.
- D. Speech-to-Text API
- That works on audio.

