Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit 7a0ff76

Browse files
yuanyaoqipeze
authored andcommitted
update facebody-2019-12-30
1 parent 8ca8bbe commit 7a0ff76

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

facebody-2019-12-30/lib/client.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,18 @@ class Client extends RPCClient {
197197
return this.request('DetectPedestrian', params, options);
198198
}
199199

200+
/**
201+
* @param {String} VideoUrl - videoUrl. required.
202+
*/
203+
detectVideoLivingFace(params = {}, options = {}) {
204+
if (!hasOwnProperty(params, 'VideoUrl')) {
205+
throw new TypeError('parameter "VideoUrl" is required');
206+
}
207+
208+
options.method = 'POST';
209+
return this.request('DetectVideoLivingFace', params, options);
210+
}
211+
200212
/**
201213
* @param {String} ImageURL - imageUrl. required.
202214
*/

facebody-2019-12-30/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/facebody-2019-12-30",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"description": "facebody 2019-12-30 Node.js SDK",
55
"main": "lib/client.js",
66
"scripts": {},

0 commit comments

Comments
 (0)