Skip to content

Latest commit

 

History

History

Camera2Extensions

Android Camera2Extensions Sample

This sample captures Camera2 extensions generated images via the Camera2 API including displaying a camera preview and using repeating capture requests. This sample application can only be built and used on Android SDK 31+.

Introduction

This sample displays a live camera preview in TextureView and allows the user to capture a still image using the Camera Extension API

Pre-requisites

  • Android SDK 31+
  • Android Studio 3.6+
  • Device with CameraX/Camera2 extensions

Getting Started

This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.

Support

If you've found an error in this sample, please file an issue: https://github.com/android/camera-samples

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.