web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Save frames from a camera
Power Apps
Answered

Save frames from a camera

(0) ShareShare
ReportReport
Posted on by 33

Good morning everyone.
I would need to save some frames from the camera instead of a single photo.
For example: 10 frames in 2 seconds.
What settings should I change?
Currently the settings I have set are related to the acquisition of a single photo
Actually fx set is folowing:

UpdateContext({myfoto:fotoCamera.Stream})
Thanks!

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @anurchis ,

     

    I added a Timer to achieve this:

    vjefferni_0-1663915804012.png

     

    The two text input boxes are where to type in the 2 minutes and 10 photos. Timer settings will be:

    Duration:

    Value(TextInput1.Text)*1000/Value(TextInput2.Text)

    Repeat:

    If(varloop >= Value(TextInput2.Text)+1,false,true)

    Reset:

    If(varloop >= Value(TextInput2.Text)+1,true,false)

    OnTimerEnd:

    Collect(colFrames,Camera1.Photo);UpdateContext({varloop:varloop+1})

    Additional properties:

    vjefferni_1-1663916103082.png

    Clear button OnSelect:

    UpdateContext({varloop:0});Clear(colFrames)

     

    So the Gallery with Items set to the collection will display all the photos captured by the Timer. The Clear button can clear the collection and reset the variable, which controls the repeat of Timer.

     

    Best regards,

  • anurchis Profile Picture
    33 on at

    Thankssss!!!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard