All Video Intelligence code samples

This page contains code samples for Video Intelligence API. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Annotate a local video file

Annotate a video file stored locally.

View in documentation

Annotate a streaming video

Annotate a streaming video.

View in documentation

Annotate a streaming video in Cloud Storage

Annotate a streaming video file from Cloud Storage .

View in documentation

Annotate a video file in Cloud Storage

Annotate a video file stored in Cloud Storage.

View in documentation

Annotate streaming video with AutoML model

Demonstrate using a custom AutoML model for classification in a video

View in documentation

Detect a person in a local video file

GA release of person detection for Video Intelligence API.

View in documentation

Detect a person in a video on Cloud Storage

Detect a person in a video stored in Cloud Storage.

View in documentation

Detect explicit content in a local video file

Detect explicit content in a video file stored locally.

View in documentation

Detect explicit content in a streaming video

Detect explicit content in a streaming video.

View in documentation

Detect faces in a Cloud Storage file

Detect faces in a Cloud Storage file

View in documentation

Detect faces in a local video file

Detect faces in a local video file

View in documentation

Detect labels in video on Cloud Storage

Detect labels in a video stored in Cloud Storage.

Detect shot changes in a local file

Detect shot changes on a video file stored locally.

View in documentation

Detect shot changes in a streaming video

Detect shot changes in a streaming video file.

View in documentation

Detect text in a local video file

Detect text in a video stored locally.

View in documentation

Detect text in a video on Cloud Storage

Detect text in video stored in Cloud Storage.

View in documentation

Recognize logos in a Cloud Storage file

Detect, track, and recognize the presence of logos in video content from file in Cloud Storage.

View in documentation

Recognize logos in a local video file

Detect, track, and recognize the presence of logos in video content from a local file.

View in documentation

Track objects in a local video file

Track multiple objects detected in a video file stored locally.

View in documentation

Track objects in a streaming video

Tracks multiple objects detected in a streaming video file.

View in documentation

Track objects in a video on Cloud Storage

Track multiple objects detected in a video stored in Cloud Storage.

View in documentation

Transcoder

Transcoder

Transcribe speech in a Cloud Storage file

Transcribe speech to text from a video file stored in Cloud Storage.

View in documentation

Transcribe speech in a local video file

Transcribe speech in a video stored locally.