Welcome to the repository for the CameraX Sample project. This repository contains the code and resources discussed in my blog post, How to use CameraX in Jetpack Compose with the ImageAnalysis use case, where I explore how to use the CameraX API for image analysis in Jetpack Compose.
Compose.camerax.sample.app.mp4
In the blog post, I cover the following key topics:
- Loading State Implementation: Learn how to enhance your app's responsiveness by adding a loading state.
- CameraX API Integration: Discover how to use the CameraX API for image analysis within a Jetpack Compose application.
This repository is organized as follows:
app
: Contains the Android Studio project for the CameraX Sample app.resources
: Includes any additional resources, assets, or files related to the sample app.
To get started with the CameraX Sample app and explore the code discussed in the blog post, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/jordan-jakisa/CameraXSample.git
-
Open the
app
directory in Android Studio. -
Explore the code and resources to understand how the CameraX API is integrated into a Jetpack Compose application.
The sample project uses the following dependencies:
Make sure to check the project's build.gradle
files for the most up-to-date information on dependencies.
If you have any questions, feedback, or suggestions, please feel free to open an issue in this repository. I'd love to hear from you and continue improving this sample project.