获取目标图像 | GET /target/<TargetID>¶
功能¶
获取目标图像的信息
动作¶
GET /target/<TargetID>
认证¶
是
请求参数¶
无
响应字段¶
样例¶
请求
GET /target/e61db301-e80f-4025-b822-9a00eb48d8d2?date=xxx&appKey=xxx&signature=xxx
HTTP/1.1
Host:
Date: Mon, 1 Jan 2018 00:00:00 GMT
返回
HTTP/1.1 200 OK
Content-Type: application/json
{
"statusCode": 0,
"result": {
"targetId":"e61db301-e80f-4025-b822-9a00eb48d8d2",
"trackingImage":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgM...",
"name": "easyar",
"size": "5",
"meta": "496fbbabc2b38ecs3460a...",
"type": "ImageTarget",
"date": "2016-06-15T09:56:30.000Z",
"active":"1",
"trackableRate": 0,
"detectableRate": 0,
“detectableDistinctiveness”:0,
"detectableFeatureCount", 0,
"trackableDistinctiveness", 0,
"trackableFeatureCount", 0,
"trackableFeatureDistribution", 0,
"trackablePatchContrast", 0,
"trackablePatchAmbiguity", 0
},
"timestamp": 1514736000000
}
样例实现:¶
EasyAR为开发者提供了几个语言的 Target Management Samples,方便程序调用实现自动化: