groupid和userid怎么产生的
136*****127 发布于2019-09 浏览:2103 回复:1
1
收藏

for i in imagelist:
#print(i)
#人脸检测
result = client.detect(i, imageType,options) #默认最大能识别2个人脸,如果一张图片有2个以上人脸则需要修改参数,最大值为10
#print(result)
groupId = "group1"
userId = "user1"
""" 调用人脸注册 """
#id=client.addUser(i, imageType, groupId, userId)
print(groupId)
groupIdList = "3,2"
""" 调用人脸搜索 """
result1=client.search(i, imageType, groupIdList)

收藏
点赞
1
个赞
共1条回复 最后由用户已被禁言回复于2019-09
#2用户已被禁言回复于2019-09

groupid是先人脸注册再操作别的接口。注册的时候会要求填写此参数 .

groupid 你们业务系统自定义 userid 也是你们业务系统自定义  即可

 

https://ai.baidu.com/docs#/Face-Set-V3/8bea9967

1
TOP
切换版块