Installing dependencies

We are going to install only one dependency, @google-cloud/video-intelligence (https://www.npmjs.com/package/@google-cloud/video-intelligence). If you recall from earlier, we need to make two HTTP requests to get the video response and, if the processing is not done by the second request, we need to keep polling till this is completed. So, to make this process simple, we are going to use the @google-cloud/video-intelligence npm. Run the following command from the root of the application:

$ npm install --save @google-cloud/video-intelligence

Or run this:

$ yarn add @google-cloud/video-intelligence

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.