Image recognition through pre-trained REST & RPC API models.
Performs feature detection on a local or remote image file. See the documentation.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
Detects logos within a local or remote image file. See the documentation.
Detects text in a local image or remote image. See the documentation.
The Google Cloud Vision API allows you to analyze images in the cloud, harnessing Google's machine learning technology. You can detect and classify multiple objects, face and landmark detection, handwriting recognition, and image attributes. Combining this with Pipedream's serverless platform catalyzes the creation of automated workflows to process images, trigger actions, and integrate with other services seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_cloud_vision_api: {
type: "app",
app: "google_cloud_vision_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_cloud_vision_api.$auth.oauth_access_token}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})