How to use Face Detection API in WinUI3 app?

Jack 20 Reputation points
2025-02-28T11:59:49.6+00:00

Hi MS team,

https://learn.microsoft.com/en-us/samples/microsoft/windows-universal-samples/camerafacedetection/

The link above is MS demo for UWP app, but I want to use it in WinUI3 app.

When i merge the code to WinUI3, there are some elements not supported in WinUI3, such as CaptureElement.

Do you have the camera face detection sample for WinUI3? or can you guide me to adapt it?

Thanks.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
830 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.