/camera-samples

Multiple samples showing the best practices in camera APIs on Android.

Primary LanguageKotlinApache License 2.0Apache-2.0

Camera Samples Repository

This repository contains a set of individual Android Studio projects to help you get started with the Camera APIs in Android.

Samples

Sample Description
CameraXBasic Demonstrates how to use CameraX APIs written in Kotlin.
HdrViewfinder Demonstrates use of RenderScript to display a live HDR feed from camera frames using Camera2 API.
Camera2Basic Demostrates capturing JPEG, RAW and DEPTH images, e.g. unprocessed pixel data directly from the camera sensor.
Camera2SlowMotion Demostrates capturing high-speed video in a constrained camera capture session
Camera2VideoJava Java version of Camera2VideoKotlin.
Camera2Video Kotlin Demonstrates recording video using the Camera2 API and MediaRecorder.