Skip to content

Commit

Permalink
Update sample region tags (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
beccasaurus authored and Ace Nassri committed May 21, 2018
1 parent d207d65 commit 65bef09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions video-intelligence/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'use strict';

function analyzeLabelsGCS(gcsUri) {
// [START analyze_labels_gcs]
// [START video_analyze_labels_gcs]
// Imports the Google Cloud Video Intelligence library
const video = require('@google-cloud/video-intelligence').v1;

Expand Down Expand Up @@ -77,11 +77,11 @@ function analyzeLabelsGCS(gcsUri) {
.catch(err => {
console.error('ERROR:', err);
});
// [END analyze_labels_gcs]
// [END video_analyze_labels_gcs]
}

function analyzeLabelsLocal(path) {
// [START analyze_labels_local]
// [START video_analyze_labels_local]
// 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,11 +148,11 @@ function analyzeLabelsLocal(path) {
.catch(err => {
console.error('ERROR:', err);
});
// [END analyze_labels_local]
// [END video_analyze_labels_local]
}

function analyzeShots(gcsUri) {
// [START analyze_shots]
// [START video_analyze_shots]
// Imports the Google Cloud Video Intelligence library
const video = require('@google-cloud/video-intelligence').v1;

Expand Down Expand Up @@ -219,11 +219,11 @@ function analyzeShots(gcsUri) {
.catch(err => {
console.error('ERROR:', err);
});
// [END analyze_shots]
// [END video_analyze_shots]
}

function analyzeSafeSearch(gcsUri) {
// [START analyze_safe_search]
// [START video_analyze_explicit_content]
// Imports the Google Cloud Video Intelligence library
const video = require('@google-cloud/video-intelligence').v1;

Expand Down Expand Up @@ -287,7 +287,7 @@ function analyzeSafeSearch(gcsUri) {
.catch(err => {
console.error('ERROR:', err);
});
// [END analyze_safe_search]
// [END video_analyze_explicit_content]
}

function analyzeVideoTranscription(gcsUri) {
Expand Down
4 changes: 2 additions & 2 deletions video-intelligence/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

'use strict';

// [START videointelligence_quickstart]
// [START video_quickstart]
// Imports the Google Cloud Video Intelligence library
const videoIntelligence = require('@google-cloud/video-intelligence');

Expand Down Expand Up @@ -77,4 +77,4 @@ client
.catch(err => {
console.error('ERROR:', err);
});
// [END videointelligence_quickstart]
// [END video_quickstart]

0 comments on commit 65bef09

Please sign in to comment.