This section provides guidance for creating Universal Windows Platform (UWP) apps that use the camera or microphone to capture photos, video, or audio.

Use the Windows built-in camera UI

Topic Description
Capture photos and video with Windows built-in camera UI Shows how to use the CameraCaptureUI class to capture photos or videos using the camera UI built into Windows. If you simply want to enable the user to capture a photo or video and return the result to your app, this is the quickest and easiest way to do it.

Basic MediaCapture tasks

Topic Description
Display the camera preview Shows how to quickly display the camera preview stream within a XAML page in a UWP app.
Basic photo, video, and audio capture with MediaCapture Shows the simplest way to capture photos and video using the MediaCapture class. The MediaCapture class exposes a robust set of APIs that provide low-level control over the capture pipeline and enable advanced capture scenarios, but this article is intended to help you add basic media capture to your app quickly and easily.
Camera UI features for mobile devices Shows you how to take advantage of special camera UI features that are only present on mobile devices.

Advanced MediaCapture tasks

Topic Description
Handle device and screen orientation with MediaCapture Shows you how to handle device orientation when capturing photos and videos by using a helper class.
Discover and select camera capabilities with camera profiles Shows how to use camera profiles to discover and manage the capabilities of different video capture devices. This includes tasks such as selecting profiles that support specific resolutions or frame rates, profiles that support simultaneous access to multiple cameras, and profiles that support HDR.
Set format, resolution, and frame rate for MediaCapture Shows you how to use the IMediaEncodingProperties interface to set the resolution and frame rate of the camera preview stream and captured photos and video. It also shows how to ensure that the aspect ratio of the preview stream matches that of the captured media.
HDR and low-light photo capture Shows you how to use the AdvancedPhotoCapture class to capture High Dynamic Range (HDR) and low-light photos.
Manual camera controls for photo and video capture Shows you how to use manual device controls to enable enhanced photo and video capture scenarios including optical image stabilization and smooth zoom.
Manual camera controls for video capture Shows you how to use manual device controls to enable enhanced video capture scenarios including HDR video and exposure priority.
Video stabilization effect for video capture Shows you how to use the video stabilization effect.
Scene anlysis for MediaCapture Shows you how to use the SceneAnalysisEffect and the FaceDetectionEffect to analyze the content of the media capture preview stream.
Capture a photo sequence with VariablePhotoSequence Shows you how to capture a variable photo sequence, which allows you to capture multiple frames of images in rapid succession and configure each frame to use different focus, flash, ISO, exposure, and exposure compensation settings.
Process media frames with MediaFrameReader Shows you how to use a MediaFrameReader with MediaCapture to get media frames from one or more available sources, including color, depth, and infrared cameras, audio devices, or even custom frame sources such as those that produce skeletal tracking frames. This feature is designed to be used by apps that perform real-time processing of media frames, such as augmented reality and depth-aware camera apps.
Get a preview frame Shows you how to get a single preview frame from the media capture preview stream.

UWP app samples for camera