microsoft / Cognitive-Face-iOS

iOS SDK for the Microsoft Face API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/face-api
Other
184 stars 64 forks source link

getPersonFaceWithPersonGroupId not returning persisted Face Id #22

Closed NateRickard closed 7 years ago

NateRickard commented 7 years ago

Related to #21

MPOPersonFace expects faceId in the JSON:

https://github.com/Microsoft/Cognitive-Face-iOS/blob/master/Pod/Classes/MPOPersonFace.m#L38

API is now returning persistedFaceId:

{
    "persistedFaceId": "015839fb-fbd9-4f79-ace9-7675fc2f1dd9",
    "userData":"User-provided data attached to the person"
}

Reference: https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395240

huxuan commented 7 years ago

closed by pull request #23