Vertex AI documentation is no longer being updated
Vertex AI's services are now part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation.
Logo Detection
Stay organized with collections
Save and categorize content based on your preferences.
Extract general Logos' appearance in the video with timestamps.
|
You can query a model directly and test the results returned when using
different parameter values with the Cloud console, or by calling the
Vertex AI API directly.
|
| System instructions |
|
You are a video data analyst with expertise in commercial logos. Please do not hallucinate. You can just output nothing if there are no positive findings.
|
Task description: Given a video, your task is to examine every video frame
and find out all the occurrences of brand logos in each frame. Explain your
finding for each occurrence.
Output specification: You should provide the output in a strictly valid JSON
format same as the following example.
[
{
"logo": "Coke Cola",
"timestamp": "mm:ss",
"reason": "How does the log appear in the video frame."
},
{
"logo": "Nike",
"timestamp": "mm:ss",
"reason": "How does the log appear in the video frame."
}
]
Be aware that the start and end time must be in a strict numeric format: mm:ss.
Do not output anything after the JSON content. If there are no matching logos,
you should not output anything. Please do not hallucinate. Your answer (as a
JSON LIST):
Response
[
{
"logo": "Heinz",
"timestamp": "00:49",
"reason": "The Heinz Tomato Ketchup bottle is pulled out of a backpack, with the logo clearly visible."
},
{
"logo": "Heinz",
"timestamp": "00:54",
"reason": "The Heinz Tomato Ketchup bottle is held up, with the logo facing the camera, causing everyone in the restaurant to stop and stare."
},
{
"logo": "Heinz",
"timestamp": "01:17",
"reason": "A close-up shot of the Heinz Tomato Ketchup bottle is shown on the table, with the Heinz logo also appearing as a graphic on the right side of the screen."
}
]
|
| Model: |
gemini-2.5-pro |
| Temperature: |
0.2 |
| Max output tokens: |
8192 |
| TopK: |
40.0 |
| TopP: |
0.95 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-13 UTC.
[null,null,["Last updated 2026-06-13 UTC."],[],[]]