Skip to content

Logo Detection Activity

The Logo Detection activity identifies well-known product logos present in a given image. It leverages Google Cloud Vision capabilities to analyze image content and return detected logo information.

Field Description Requirement
Api key Google Cloud Vision API Key Required
Image path/url Google Cloud Storage URL of the image Required
Base64 Base64 string representation of the image file Required
Response variable name Variable name to store the HTTP response Required

Action Types & Examples

Output Response

  • Format: string (JSON)
  • Example Result: {"logos": [{"description": "Google", "score": 0.95, "bounds": [{"x": 10, "y": 20}, {"x": 100, "y": 20}, {"x": 100, "y": 80}, {"x": 10, "y": 80}]}]}

Implementation Examples

Field Setup - Api key: bb3c53c6-8515-4e34-97c8-8281de60972d - Image path/url: gs://cloud-samples-data/vision/ocr/sampleimage.jpg - Base64: /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUF……………./58x/8BX+R/9k=

Execution Parameters - Response variable name: getRespone

Technical Notes

You must configure either the Image path/url or the Base64 field, but not both, for the activity to execute. For more detailed information and documentation regarding Google Cloud Vision's logo detection features, refer to the official detect logos documentation.