Skip to content

Commit

Permalink
Video Intelligence region tag update (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
alixhami authored Aug 16, 2018
1 parent 398e65a commit defe1cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions video-intelligence/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function analyzeLabelsGCS(gcsUri) {
}

function analyzeLabelsLocal(path) {
// [START video_analyze_labels_local]
// [START video_analyze_labels]
// Imports the Google Cloud Video Intelligence library + Node's fs library
const video = require('@google-cloud/video-intelligence').v1;
const fs = require('fs');
Expand Down Expand Up @@ -148,7 +148,7 @@ function analyzeLabelsLocal(path) {
.catch(err => {
console.error('ERROR:', err);
});
// [END video_analyze_labels_local]
// [END video_analyze_labels]
}

function analyzeShots(gcsUri) {
Expand Down Expand Up @@ -291,7 +291,7 @@ function analyzeSafeSearch(gcsUri) {
}

function analyzeVideoTranscription(gcsUri) {
// [START video_speech_transcription]
// [START video_speech_transcription_gcs_beta]
// Imports the Google Cloud Video Intelligence library
const videoIntelligence = require('@google-cloud/video-intelligence')
.v1p1beta1;
Expand Down Expand Up @@ -341,7 +341,7 @@ function analyzeVideoTranscription(gcsUri) {
.catch(err => {
console.error('ERROR:', err);
});
// [END video_speech_transcription]
// [END video_speech_transcription_gcs_beta]
}

require(`yargs`)
Expand Down

0 comments on commit defe1cd

Please sign in to comment.