Take pictures in Power Apps with the Camera control

The camera control can be used to take an image and then take that image to populate an Image control. It is a little tricky because you have to use the Stream property of the camera. You set this up by doing the following.

  1. Put image control, camera control, and button on canvas
  2. On the button control in the Select property set the variable MyPix using the function UpdateContext({MyPix:Camera1.Stream});
  3. In Image property of the image control put the variable MyPix
  4. Set the Camera Stream property to 100

That is all you have to and you are ready to take pictures!