Implementation of CameraX In Java.
This project is a reference code made for the video 'Camera X in Java | Image Capture, Video Capture, Image Analysis'.
Link: https://youtu.be/IrwhjDtpIU0
- Captures the photo via front camera or rear camera
- Records the video
- Perform real time analysis on the frames
- Android 13 supported
HOME |
---|
Image Capture | Video Capture |
---|---|
These instructions will get you a copy of the project up and running on your local machine.
The things you need before installing the software.
- Android Studio
Clone this repository and import into Android Studio
git clone git@github.com:Faisal-FS/CameraX-In-Java.git
dependencies {
def cameraxVersion = "1.1.0-alpha05"
implementation "androidx.camera:camera-core:${cameraxVersion}"
implementation "androidx.camera:camera-camera2:${cameraxVersion}"
implementation "androidx.camera:camera-lifecycle:${cameraxVersion}"
// CameraX View class
implementation 'androidx.camera:camera-view:1.0.0-alpha25'
}
First enable permissions from the app info in device settings.
* Camera
* Microphone
* Read/Write External Storage
Did I help you out? Consider buying me a coffee 😎