android
camera-samples
Kotlin

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

Last updated Jul 7, 2026
5.4k
Stars
2.4k
Forks
180
Issues
+3
Stars/day
Attention Score
98
Language breakdown
Kotlin 92.8%
Java 6.8%
RenderScript 0.4%
โ–ธ Files click to expand
README

Camera Samples Repository

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

Samples

| Sample | Description | | ----------------------------------------- | ------------ | | CameraXBasic | Demonstrates how to use CameraX APIs. | | CameraXAdvanced | Demonstrates how to use CameraX APIs with TFLite and others | | CameraXVideo | Demonstrates how to use CameraX VideoCapture API. | | CameraX-MLKit | Demonstrates how to use CameraX's MlKitAnalyzer to build a QR-code scanner. | | Camera2Basic | Demonstrates capturing JPEG, RAW and DEPTH images, e.g. unprocessed pixel data directly from the camera sensor. | | Camera2SlowMotion | Demonstrates capturing high-speed video in a constrained camera capture session. | | Camera2Video | Demonstrates recording video using the Camera2 API and MediaRecorder. | | Camera2Extensions | Demonstrates Camera2 extension live preview and still capture. | CameraXExtensions | Demonstrates CameraX extension live preview and still capture. | HdrViewfinder | Demonstrates use of RenderScript to display a live HDR feed from camera frames using Camera2 API. |

ยฉ 2026 GitRepoTrend ยท android/camera-samples ยท Updated daily from GitHub