Setup
dependencies {
implementation "com.github.skgmn:cameraxx:0.6.0"
}
Features
CameraXX provides extensions methods for CameraX to use functions with coroutines and flows.
suspend fun Context.getProcessCameraProvider(): ProcessCameraProvider
fun PreviewView.listenPreviewStreamState(): Flow<PreviewView.StreamState>
suspend fun ImageCapture.takePicture(): ImageProxy
suspend fun ImageCapture.takePicture(ImageCapture.OutputFileOptions): ImageCapture.OutputFileResults
fun ImageAnalysis.analyze(): Flow<ImageProxy>