Hello,
Welcome to Microsoft Q&A!
Currently, there is no API that could achieve your requirement based on Windows.Media.FaceAnalysis Namespace. You could submit a feature request in the Feedback Hub. You could find the Feedback Hub in the Start Menu.
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.