TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionVisionlogFaceSearchRequest req = new AlibabaSecurityDeepvisionVisionlogFaceSearchRequest();
AlibabaSecurityDeepvisionVisionlogFaceSearchRequest.DVFaceSearchParam obj1 = new AlibabaSecurityDeepvisionVisionlogFaceSearchRequest.DVFaceSearchParam();
obj1.setImage("http://1.jpg");
obj1.setRequestId("23we");
obj1.setStartTick(1234567890L);
obj1.setThreshold("0.2");
obj1.setEndTick(1234567890L);
obj1.setPoiId("12wq");
obj1.setTenantCode("13qw");
obj1.setTopN(1L);
obj1.setToken("2ewds");
req.setParam(obj1);
AlibabaSecurityDeepvisionVisionlogFaceSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaSecurityDeepvisionVisionlogFaceSearchRequest req = new AlibabaSecurityDeepvisionVisionlogFaceSearchRequest();
AlibabaSecurityDeepvisionVisionlogFaceSearchRequest.DVFaceSearchParamDomain obj1 = new AlibabaSecurityDeepvisionVisionlogFaceSearchRequest.DVFaceSearchParamDomain();
obj1.Image = "http://1.jpg";
obj1.RequestId = "23we";
obj1.StartTick = 1234567890L;
obj1.Threshold = "0.2";
obj1.EndTick = 1234567890L;
obj1.PoiId = "12wq";
obj1.TenantCode = "13qw";
obj1.TopN = 1L;
obj1.Token = "2ewds";
req.Param_ = obj1;
AlibabaSecurityDeepvisionVisionlogFaceSearchResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaSecurityDeepvisionVisionlogFaceSearchRequest;
$param = new DVFaceSearchParam;
$param->image="http://1.jpg";
$param->request_id="23we";
$param->start_tick="1234567890";
$param->threshold="0.2";
$param->end_tick="1234567890";
$param->poi_id="12wq";
$param->tenant_code="13qw";
$param->top_n="1";
$param->token="2ewds";
$req->setParam(json_encode($param));
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=alibaba.security.deepvision.visionlog.face.search' \
-d 'partner_id=apidoc' \
-d 'sign=C7374AFB217F093CB71046B910EE23E2' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-07+14%3A42%3A02' \
-d 'v=2.0' \
-d 'param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaSecurityDeepvisionVisionlogFaceSearchRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param="数据结构示例JSON格式"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"alibaba.security.deepvision.visionlog.face.search");
add_param(pRequest,"param","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.security.deepvision.visionlog.face.search', {
'param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})