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

SDK & API对应关系

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

接口

方法

API

CompareService

compare_face_by_base64

POST /v1/{project_id}/face-compare

POST /v2/{project_id}/face-compare

compare_face_by_file

compare_face_by_obs_url

DetectService

detect_face_by_base64

POST /v1/{project_id}/face-detect

POST /v2/{project_id}/face-detect

detect_face_by_file

detect_face_by_obs_url

FaceService

add_face_by_base64

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

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

add_face_by_file

add_face_by_obs_url

get_faces

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

get_face

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}

delete_face_by_face_id

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

delete_face_by_external_image_id

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

delete_face_by_field_id

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

create_face_set

POST /v1/{project_id}/face-sets

POST /v2/{project_id}/face-sets

get_all_face_sets

GET /v1/{project_id}/face-sets

GET /v2/{project_id}/face-sets

get_face_set

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

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

delete_face_set

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

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

LiveDetectService

live_detect_by_base64

POST /v1/{project_id}/live-detect

live_detect_by_file

live_detect_by_obs_url

SearchService

search_face_by_base64

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

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

search_face_by_file

search_face_by_obs_url

search_face_by_face_id

分享:

    相关文档

    相关产品

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

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

*必选

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

字符长度不能超过200

提交反馈 取消

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

智能客服提问云社区提问