Video Intelligence API
The Cloud Video Intelligence API
makes videos searchable and discoverable, by extracting metadata with an easy-to-use REST API. You can now search every moment of every video file in your catalog. It quickly annotates videos stored in Google Cloud storage, and helps you to identify key entities (nouns) within your videos and when they occur.
The Cloud Video Intelligence API
can be searched for and enabled as follows:


We import the required packages and add the path to the api-key
, as follows:
from google.cloud import videointelligence import os os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/content/datalab/google-api.json" from google.cloud.speech import enums from google.cloud.speech import types
The method features
enables us to specify the type of content that we want to detect in a video. The features available are as follows:

Let's go ahead and detect labels in the video of interest to us:
features = [videointelligence.enums.Feature.LABEL_DETECTION]
We specify the config...