Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Google Cloud Platform logo

Google Cloud Video Intelligence API Node.js Samples

The Cloud Video Intellience API allows developers to easily integrate video analysis within applications, including video labeling, face detection, and shot change detection.

Table of Contents

Setup

  1. Read Prerequisites and How to run a sample first.

  2. Install dependencies:

     npm install
    

Running

View the documentation or the source code.

node analyze.js
Commands:
  faces <gcsPath>   Analyzes faces in a video using the Cloud Video Intelligence API.
  shots <gcsPath>   Analyzes shot angles in a video using the Cloud Video Intelligence API.
  labels <gcsPath>  Labels objects in a video using the Cloud Video Intelligence API.

Options:
  --help  Show help                                                                                            [boolean]

Examples:
  node analyze.js faces gs://my-bucket/my-video.mp4
  node analyze.js shots gs://my-bucket/my-video.mp4
  node analyze.js labels gs://my-bucket/my-video.mp4