While you can use Video Intelligence by making direct requests, we provide client libraries for several popular languages. Video Intelligence client libraries are built on Google Cloud Client Libraries. This common infrastructure provides functionality for API-specific library implementations, but it also provides types and methods that you may use directly when using any Cloud API.
Available client libraries
Video Intelligence provides client libraries and guides for the following languages:
Python
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
This page provides reference documentation and related resources for the Video Intelligence Python client library.
Resource | Description |
---|---|
Library reference | Video Intelligence Python library reference |
Language guide | General guide for using Python with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and Python |
Installation
To install the client library:
pip install --upgrade google-cloud-videointelligence
Java
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
This page provides reference documentation and related resources for the Video Intelligence Java client library.
Resource | Description |
---|---|
Library reference | Video Intelligence Java library reference |
Language guide | General guide for using Java with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and Java |
Installation
To install the client library:
If you are using Maven, add
the following to your pom.xml
file. For more information about
BOMs, see The Google Cloud Platform Libraries BOM.
If you are using Gradle, add the following to your dependencies:
If you are using sbt, add the following to your dependencies:
If you're using Visual Studio Code, IntelliJ, or Eclipse, you can add client libraries to your project using the following IDE plugins:
The plugins provide additional functionality, such as key management for service accounts. Refer to each plugin's documentation for details.
Node.js
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
This page provides reference documentation and related resources for the Video Intelligence Node.js client library.
Resource | Description |
---|---|
Library reference | Video Intelligence Node.js library reference |
Language guide | General guide for using Node.js with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and Node.js |
Installation
To install the client library:
For more information, see Setting Up a Node.js Development Environment.
npm install --save @google-cloud/video-intelligence
C++
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
This page provides reference documentation and related resources for the Video Intelligence C++ client library.
Resource | Description |
---|---|
Library reference | Video Intelligence C++ library reference |
Language guide | General guide for using C++ with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and C++ |
Installation
To install the client library:
For more information, see Setting Up a C++ Development Environment.
Go
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
This page provides reference documentation and related resources for the Video Intelligence Go client library.
Resource | Description |
---|---|
Library reference | Video Intelligence Go library reference |
Language guide | General guide for using Go with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and Go |
Installation
To install the client library:
For more information, see Setting Up a Go Development Environment.
go get cloud.google.com/go/videointelligence/apiv1
PHP
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
This page provides reference documentation and related resources for the Video Intelligence PHP client library.
Resource | Description |
---|---|
Library reference | Video Intelligence PHP library reference |
Language guide | General guide for using PHP with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and PHP |
Installation
To install the client library:
composer require google/cloud-videointelligence
Ruby
To authenticate to Video Intelligence, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
The Ruby client libraries for Video Intelligence are currently released as Beta.
This page provides reference documentation and related resources for the Video Intelligence Ruby client library.
Resource | Description |
---|---|
Library reference | Video Intelligence Ruby library reference |
Language guide | General guide for using Ruby with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Video Intelligence and Ruby |
Installation
To install the client library:
For more information, see Setting Up a Ruby Development Environment.
gem install google-cloud-video_intelligence
Authentication and access control
The Video Intelligence quickstart guides provide basic information on authentication and access control. For more detailed information, see the following: