Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Recognize face and capture it automatically in canvas power apps

Hello Everyone,

If i navigate to the screen, Need to recognize face and capture face automatically(Should also tell if face is far from the webcam, If it is near to the webcam only it should capture the face). Can anyone guide me how this can be achieved?

According to me, we can achieve this with AI builder, But i don't know the approach. Thank you.

Power Apps
Power Apps



Unfortunatelly, AI Builder can't recognize faces yet.

You have to get an Azure license to use face recognition API and create a connection from the Power Platform.

Will you please share the referenced articles that matches my requirement. 

Send me other than Microsoft docs, because i have gone through it already.

Many thanks in advance.

You can try this one

But there are many similar articles available on Google.

I hope this addresses your requirements.

Helper III
Helper III

Do we have any option that camera(media) should automatically takes the picture when we enter into the particular screen?


You can set StreamRate=100 and OnStream=ClearCollect(Photos, Camera1.Stream)

Then retrieve the picture with First(Photos).Url


Yes, it is taking picture automatically. Once the picture is taken, camera should not be ready state to take the picture again, it should end it with only one picture.

Am still waiting for your reply. Thank you

ok providing a detailed walkthrough:

1. Create a screen with a camera control and a picture control

2. In the "OnVisible" property of your screen, enter this

Set(CameraStreamRate, 200);

3. In the "StreamRate" property of your camera control, enter this


4. In the "Visible" property of your camera control, enter this


5. In the "OnStreamRate" property of your camera control, enter this

ClearCollect(Photos, Camera1.Stream);

Set(CameraStreamRate, 0);
6. in "Image" property of your picture control enter this


Really thank you so much for your patience but what i want to say here is, when we take the picture from the camera control, it is allowing to take picture.

My concern is different for example Am taking one picture of my face, after taking the picture, the camera control should show only that image which i have took until and unless we press the button called retake picture.

I hope you understood my scenario. Thank you

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (2,547)