查询重采请求详情
离线刷脸业务中,偶尔会出现前期采集头像质量不高,导致算法升级后,旧的头像无法生成有效的人脸特征,影响用户使用刷脸服务。因此,需要对用户的头像进行重采。
请求参数 | 类型 | 描述 |
---|---|---|
collection_id | string | 重采ID |
php
$instance->v3->offlineface->faceCollections->_collection_id_->getAsync([
'collection_id' => 'FC2353ZJIHOJKHOIIOIJ',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/offlineface/face-collections/{collection_id}')->getAsync([
'collection_id' => 'FC2353ZJIHOJKHOIIOIJ',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/offlineface/face-collections/{collection_id}']->getAsync([
'collection_id' => 'FC2353ZJIHOJKHOIIOIJ',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->offlineface->faceCollections->_collection_id_->get([
'collection_id' => 'FC2353ZJIHOJKHOIIOIJ',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/offlineface/face-collections/{collection_id}')->get([
'collection_id' => 'FC2353ZJIHOJKHOIIOIJ',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/offlineface/face-collections/{collection_id}']->get([
'collection_id' => 'FC2353ZJIHOJKHOIIOIJ',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
collection_id | string | 重采ID |
use_id | string | 用户ID |
organization_id | string | 机构ID |
collection_state | string | 重采状态COLLECTION_REQUIRED | PHOTO_UPLOADED | COMPLETE 枚举值之一 |
register_photo_upload_time | string | 注册照上传时间 |
confirm_time | string | 支付用户确认时间 |
参阅 官方文档