Skip to content

Commit 9bba5f5

Browse files
authored
docs: relax the tests for face / person detection (#381)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-video-intelligence/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent eca9a94 commit 9bba5f5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

video-intelligence/system-test/analyze_face_detection.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ const file = 'resources/googlework_short.mp4';
2626
describe('analyzing faces in video', () => {
2727
it('should identify faces in a local file', async () => {
2828
const output = execSync(`${cmd} ${file}`);
29-
assert.match(output, /glasses/);
29+
assert.match(output, /Attribute/);
3030
});
3131
});

video-intelligence/system-test/analyze_face_detection_gcs.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ const gcsUri = 'gs://cloud-samples-data/video/googlework_short.mp4';
2626
describe('analyzing faces in video', () => {
2727
it('should identify faces in a file in Google Storage', async () => {
2828
const output = execSync(`${cmd} ${gcsUri}`);
29-
assert.match(output, /glasses/);
29+
assert.match(output, /Attribute/);
3030
});
3131
});

video-intelligence/system-test/analyze_person_detection.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ const file = 'resources/googlework_short.mp4';
2626
describe('analyzing people in video', () => {
2727
it('should identify people in a local file', async () => {
2828
const output = execSync(`${cmd} ${file}`);
29-
assert.match(output, /Hair/);
29+
assert.match(output, /Landmark/);
3030
});
3131
});

video-intelligence/system-test/analyze_person_detection_gcs.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ const gcsUri = 'gs://cloud-samples-data/video/googlework_short.mp4';
2626
describe('analyzing people in video', () => {
2727
it('should identify people in a file in Google Storage', async () => {
2828
const output = execSync(`${cmd} ${gcsUri}`);
29-
assert.match(output, /Hair/);
29+
assert.match(output, /Landmark/);
3030
});
3131
});

0 commit comments

Comments
 (0)