GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-docs-samples/video/cloud-client at master · cgwy/python-docs-samples

Expand file tree

/

cloud-client

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

cloud-client

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
analyze.py
analyze.py
 
 
analyze_test.py
analyze_test.py
 
 
requirements.txt
requirements.txt
 
 

README.md

Outline

Google Cloud Video Intelligence Sample

Demonstrates face detection, label detection, and shot change detection using the Google Cloud API..

Setup

Please follow the Set Up Your Project steps in the Quickstart doc to create a project and enable the Google Cloud Video Intelligence API. Following those steps, make sure that you Set Up a Service Account, and export the following environment variable:

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

Run the sample

Install pip if not already installed.

Install the necessary libraries using pip:

$ pip install -r requirements.txt

Run the sample, for example:

python analyze.py faces gs://demomaker/google_gmail.mp4
python analyze.py labels gs://demomaker/cat.mp4
python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.