# CameraX-In-Java **Repository Path**: geniuschinahn/CameraX-In-Java ## Basic Information - **Project Name**: CameraX-In-Java - **Description**: https://github.com/Faisal-FS/CameraX-In-Java 4年前代码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-13 - **Last Updated**: 2025-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CameraX-In-Java Implementation of CameraX In Java. ### Tutorial 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 ### Features - Captures the photo via front camera or rear camera - Records the video - Perform real time analysis on the frames - Android 13 supported ### Screenshots | HOME | |:-:| | ![home](home.png?raw=true "home") | | Image Capture | Video Capture | |:-:|:-:| | ![Image Capture](image_capture.png?raw=true "image_capture") | ![Video Capture](video_capture.png?raw=true "video_capture") | ## Getting Started These instructions will get you a copy of the project up and running on your local machine. ### Prerequisites The things you need before installing the software. * Android Studio ## Installation Clone this repository and import into **Android Studio** ```bash git clone git@github.com:Faisal-FS/CameraX-In-Java.git ``` ## Configuration ### Gradle Dependencies: ``` 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' } ``` ### Permissions: 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 😎 https://www.buymeacoffee.com/codingreel