Skip to content

Web Detection Activity

The Web Detection activity identifies and extracts web entities, pages, and visually similar images associated with a provided image. It leverages advanced vision capabilities to discover relevant online content by analyzing the image's visual characteristics.

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 The name of the variable to store the HTTP response Required

Action Types & Examples

Api key

  • Format: String
  • Example Result: bb3c53c6-8515-4e34-97c8-8281de60972d

Image path/url

  • Format: String (URL)
  • Example Result: gs://cloud-samples-data/vision/ocr/sampleimage.jpg

Base64

  • Format: String (Base64 encoded)
  • Example Result: /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUF……………./58x/8BX+R/9k=

Response variable name

  • Format: String
  • Example Result: getResponse

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= - Response variable name: getResponse

Execution Parameters

Technical Notes

This activity integrates with Google Cloud Vision's detect Web entities and pages features. When configuring the activity, you must provide image data using either the Image path/url field or the Base64 field, but not both simultaneously.