0

Was wondering if anyone has crossed upon this problem:

  • Using MSFT Cognitive Services Face API to persist Person Groups, Persons and Person Faces
  • Am sending an image to the Face-Identify API and receiving a candidate list that includes "phantom" personIds that are not persisted by me and are not listed in the person group used for identification. When I run List Persons in a Person Group API I don't receive that personID.

Overall everything is working but for some images I get these invalid responses. Any clue would be appreciated.

Shai Ben-Tovim
  • 892
  • 8
  • 20
  • Have you updated the person group and not trained it since the update? What do you get if you call the Person Group - Get Person Group Training Status API? – kwill May 19 '17 at 19:37
  • Hi @kwill - it was exactly that. Apparently some faces were deleted from the person group and it wasn't retrained in between. – Shai Ben-Tovim May 21 '17 at 20:20
  • The way the API is designed forces consuming apps to either train just before identification (which is wasteful if no change to person group) or at delta events to the person group (which makes it difficult to scale because the training loop state needs to be centrally controlled - can't make changes when training inflight). Would be nice if there were an option to set the API to 'auto-train', if required to, just before identification and let MSFT manage training state. – Shai Ben-Tovim May 21 '17 at 20:28

1 Answers1

1

Hello from Microsoft Cognitive Service Face Team,

And really sorry for the inconvenience cause by our current training strategy. AFAIK, it is still computation/time cost to train a person group, that is why we make it as an asynchronous call and need training again after the person group is modified.

If you have any further problem, please feel free to update.

Xuan Hu
  • 856
  • 8
  • 22
  • Hi Xuan, thanks for the reply. My point was that because its computationally costly there might be a case for an API mode that MSFT makes the decision whether to train or not based on changes in the person group - 'just-in-time training'. Keep up the great work with the service! – Shai Ben-Tovim May 22 '17 at 15:19
  • @ShaiBen-Tovim Thanks for your suggestion and clarification. I will note it down and consider this feature in the future. – Xuan Hu May 23 '17 at 03:27