video_analyze

command
v0.0.0-...-4badc5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

Google Cloud Video Intelligence API Go example

Authentication

  • Create a project with the Google Cloud Console, and enable the Video Intelligence API.

  • From the Cloud Console, create a service account, download its json credentials file, then set the GOOGLE_APPLICATION_CREDENTIALS environment variable:

    export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json
    

Run the sample

To build and run the sample:

go build -o video_analyze

gsutil cp gs://cloud-samples-data/video/cat.mp4
./video_analyze cat.mp4

./video_analyze gs://cloud-samples-data/video/cat.mp4

Documentation

Overview

Command video_analyze uses the Google Cloud Video Intelligence API to analyze a video.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL