Skip to content

Commit 80aae33

Browse files
telpiriongcf-owl-bot[bot]
authored andcommitted
samples: updates face and person to v1 (#528)
* samples: updates face and person to v1 * 🦉 Updates from OwlBot * fix: docs link issues * fix: appeasethe doc checker * fix: revert READMEs * 🦉 Updates from OwlBot Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent fc5823a commit 80aae33

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

video-intelligence/analyze_face_detection_gcs.js renamed to video-intelligence/analyze-face-detection-gcs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
'use strict';
1616

1717
function main(gcsUri = 'YOUR_STORAGE_URI') {
18-
// [START video_detect_faces_gcs_beta]
18+
// [START video_detect_faces_gcs]
1919
/**
2020
* TODO(developer): Uncomment these variables before running the sample.
2121
*/
2222
// const gcsUri = 'GCS URI of the video to analyze, e.g. gs://my-bucket/my-video.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

2727
// Creates a client
2828
const video = new Video.VideoIntelligenceServiceClient();
@@ -87,7 +87,7 @@ function main(gcsUri = 'YOUR_STORAGE_URI') {
8787
}
8888

8989
detectFacesGCS();
90-
// [END video_detect_faces_gcs_beta]
90+
// [END video_detect_faces_gcs]
9191
}
9292

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

video-intelligence/system-test/analyze_face_detection_gcs.test.js renamed to video-intelligence/system-test/analyze-face-detection-gcs.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {describe, it} = require('mocha');
2020

2121
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2222

23-
const cmd = 'node analyze_face_detection_gcs.js';
23+
const cmd = 'node analyze-face-detection-gcs.js';
2424
const gcsUri = 'gs://cloud-samples-data/video/googlework_short.mp4';
2525

2626
describe('analyzing faces in video', () => {

video-intelligence/system-test/analyze_face_detection.test.js renamed to video-intelligence/system-test/analyze-face-detection.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {describe, it} = require('mocha');
2020

2121
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2222

23-
const cmd = 'node analyze_face_detection.js';
23+
const cmd = 'node analyze-face-detection.js';
2424
const file = 'resources/googlework_short.mp4';
2525

2626
describe('analyzing faces in video', () => {

0 commit comments

Comments
 (0)