Microsoft
AI-102 · Question #222
You have an app that captures live video of exam candidates. You need to use the Face service to validate that the subjects of the videos are real people. What should you do?
The correct answer is B. Call the face detection API repeatedly and check for changes to the FaceAttributes.HeadPose. You can detect head gestures like nodding and head shaking by tracking HeadPose changes in real time. You can use this feature as a custom liveness detector. https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/how-to/use-headpose
Submitted by hassan_iq· Mar 30, 2026
Question
You have an app that captures live video of exam candidates. You need to use the Face service to validate that the subjects of the videos are real people. What should you do?
Options
- ACall the face detection API and retrieve the face rectangle by using the FaceRectangle attribute.
- BCall the face detection API repeatedly and check for changes to the FaceAttributes.HeadPose
- CCall the face detection API and use the FaceLandmarks attribute to calculate the distance
- DCall the face detection API repeatedly and check for changes to the FaceAttributes.Accessories
How the community answered
(64 responses)- A6% (4)
- B77% (49)
- C3% (2)
- D14% (9)
Explanation
You can detect head gestures like nodding and head shaking by tracking HeadPose changes in real time. You can use this feature as a custom liveness detector. https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/how-to/use-headpose
Topics
#Azure AI Face service#Liveness detection#Face API attributes
Community Discussion
No community discussion yet for this question.