We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928b7f8 commit f38c44fCopy full SHA for f38c44f
video-intelligence/analyze.js
@@ -228,9 +228,9 @@ async function analyzeSafeSearch(gcsUri) {
228
];
229
230
// Detects unsafe content
231
- const [opertaion] = await client.annotateVideo(request);
+ const [operation] = await client.annotateVideo(request);
232
console.log('Waiting for operation to complete...');
233
- const [operationResult] = await opertaion.promise();
+ const [operationResult] = await operation.promise();
234
// Gets unsafe content
235
const explicitContentResults =
236
operationResult.annotationResults[0].explicitAnnotation;
0 commit comments