文档首页 > > SDK参考> Go SDK> SDK & API对应关系

SDK & API对应关系

分享
更新时间:2020/07/27 GMT+08:00

接口

方法

API

CompareService

CompareFaceByBase64

POST /v1/{project_id}/face-compare

POST /v2/{project_id}/face-compare

CompareFaceByFile

CompareFaceByObsUrl

DetectService

DetectFaceByBase64

POST /v1/{project_id}/face-detect

POST /v2/{project_id}/face-detect

DetectFaceByFile

DetectFaceByObsUrl

FaceService

AddFaceByBase64

POST /v1/{project_id}/face-sets/{face_set_name}/faces

POST /v2/{project_id}/face-sets/{face_set_name}/faces

AddFaceByFile

AddFaceByObsUrl

GetFaces

GET /v1/{project_id}/face-sets/{face_set_name}/faces?offset=xxx&limit=xxx

GET /v2/{project_id}/face-sets/{face_set_name}/faces?offset=xxx&limit=xxx

GetFace

GET /v1/{project_id}/face-sets/{face_set_name}/faces?face_id={face_id}

GET /v2/{project_id}/face-sets/{face_set_name}/faces?face_id={face_id}

DeleteFaceByFaceId

DELETE /v1/{project_id}/face-sets/{face_set_name}/faces ?external_image_id=imageID

DELETE /v2/{project_id}/face-sets/{face_set_name}/faces ?external_image_id=imageID

DeleteFaceByExternalImageId

DELETE /v1/{project_id}/face-sets/{face_set_name}/faces ?face_id=faceID

DELETE /v2/{project_id}/face-sets/{face_set_name}/faces ?face_id=faceID

DeleteFaceByFieldId

DELETE /v1/{project_id}/face-sets/{face_set_name}/faces ?id=home

DELETE /v2/{project_id}/face-sets/{face_set_name}/faces ?id=home

FaceSetService

CreateFaceSet

POST /v1/{project_id}/face-sets

POST /v2/{project_id}/face-sets

GetAllFaceSets

GET /v1/{project_id}/face-sets

GET /v2/{project_id}/face-sets

GetFaceSet

GET /v1/{project_id}/face-sets/{face_set_name}

GET /v2/{project_id}/face-sets/{face_set_name}

DeleteFaceSet

DELETE /v1/{project_id}/face-sets/{face_set_name}

DELETE /v2/{project_id}/face-sets/{face_set_name}

LiveDetectService

LiveDetectByBase64

POST /v1/{project_id}/live-detect

LiveDetectByFile

LiveDetectByObsUrl

SearchService

SearchFaceByBase64

POST /v1/{project_id}/face-sets/{face_set_name}/search

POST /v2/{project_id}/face-sets/{face_set_name}/search

SearchFaceByFile

SearchFaceByObsUrl

SearchFaceByFaceId

分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!非常感谢您的反馈,我们会继续努力做到更好!
反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

智能客服提问云社区提问