Yes, you can use face bounding box information to add a face to your person in a large group. You can follow the steps below:
This is my image about to upload, I have marked the face bounding box information out :
Based on the face add API, you the "tragetFace" value should be: left,top,width,height. In this case values 315,178,53,53 .So just call the API as below :
https://faceteststan.cognitiveservices.azure.com/face/v1.0/largepersongroups/testlargegroup/persons/e28981bd-1361-411a-b28a-eb79bc06ea51/persistedfaces?targetFace=315,178,53,53&detectionModel=detection_02
Result :
As you can see a face has been added successfully . Juts modify the API params based on your own and your own requirement will be ok here.
Btw, pls note that if the provided "targetFace" rectangle is not returned from Face - Detect, there’s no guarantee to detect and add the face successfully.
Hope it helps .
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…