Help Center/ Face Recognition Service/ SDK Reference/ Java SDK/ Mappings Between Java SDK & APIs
Updated on 2022-03-31 GMT+08:00

Mappings Between Java SDK & APIs

API

Method

API

CompareService

compareFaceByBase64

POST /v2/{project_id}/face-compare

compareFaceByFile

compareFaceByObsUrl

DetectService

detectFaceByBase64

POST /v2/{project_id}/face-detect

detectFaceByFile

detectFaceByObsUrl

FaceService

addFaceByBase64

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

addFaceByFile

addFaceByObsUrl

getFaces

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

getFace

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

deleteFaceByFaceId

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

deleteFaceByExternalImageId

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

deleteFaceByFieldId

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

FaceSetService

createFaceSet

POST /v2/{project_id}/face-sets

getAllFaceSets

GET /v2/{project_id}/face-sets

getFaceSet

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

deleteFaceSet

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

LiveDetectService

liveDetectByBase64

POST /v2/{project_id}/live-detect

liveDetectByFile

liveDetectByObsUrl

SearchService

searchFaceByBase64

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

searchFaceByFile

searchFaceByObsUrl

searchFaceByFaceId