cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Automatic capture of photos using Camera Stream

Hello Experts!

 

As per the official docs here (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-camera), it's mentioned;

 

Use the Stream, StreamRate, and OnStream properties to automatically capture images on a timer, for example snapping a picture every minute to create a time-lapse sequence.

 

May I know how can we achieve this? Is there any example you guys can point me to or a sample?

1 ACCEPTED SOLUTION

Accepted Solutions

Well, this does not work at all. However, I have figured out a way to do this with Stream. I will be sharing a full solution soon. 

 

I don't think Camera1.Photo can do this but if you have any working sample which handles using Camera1.Photo please share. 

View solution in original post

5 REPLIES 5
summitb
Power Participant
Power Participant

How many frames you want to capture? 

Thanks @summitb for your response. I want to capture a picture after every 30 seconds. How do I do that?

User timer control put its duration as 30000 and repeat as true. Then onTimerEnd Collect(MyPictureStream, Camera1.Photo)

 

 

Well, this does not work at all. However, I have figured out a way to do this with Stream. I will be sharing a full solution soon. 

 

I don't think Camera1.Photo can do this but if you have any working sample which handles using Camera1.Photo please share. 

HI @ArafatTehsin 
Using Camera.Photo was a bad idea, I tried it using Stream as well. This one seems to be the best way of doing it. Recorded on how I did it. I guess you did the same way!

 

https://youtu.be/QNOEi-loNz8

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,621)