Skip to content

Commit 1d9bc05

Browse files
morganduAce Nassri
authored and
Ace Nassri
committed
fix: update region tag from v1beta1 to v1 for analyze-face-detection.js (#530)
1 parent 80aae33 commit 1d9bc05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

video-intelligence/analyze-face-detection.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
'use strict';
1616

1717
function main(path = 'YOUR_LOCAL_FILE') {
18-
// [START video_detect_faces_beta]
18+
// [START video_detect_faces]
1919
/**
2020
* TODO(developer): Uncomment these variables before running the sample.
2121
*/
2222
// const path = 'Local file to analyze, e.g. ./my-file.mp4';
2323

2424
// Imports the Google Cloud Video Intelligence library + Node's fs library
25-
const Video = require('@google-cloud/video-intelligence').v1p3beta1;
25+
const Video = require('@google-cloud/video-intelligence').v1;
2626
const fs = require('fs');
2727

2828
// Creates a client
@@ -90,7 +90,7 @@ function main(path = 'YOUR_LOCAL_FILE') {
9090
}
9191

9292
detectFaces();
93-
// [END video_detect_faces_beta]
93+
// [END video_detect_faces]
9494
}
9595

9696
main(...process.argv.slice(2));

0 commit comments

Comments
 (0)