Best android open-source packages and libraries.

ComposeBarcodeScanner

Jetpack compose barcode scanner
Updated 3 months ago

Jetpack Compose Barcode Scanner

Jetpack Compose + Google ML Kit - Barcode Scanning

ScreenRecording

https://user-images.githubusercontent.com/8514173/229644164-802cb43e-1aa8-4f19-a329-dd41dfdaf296.mp4

Structure

- main
-- java
--- com.compose.barcodescanner
---- scanner
----- presentation
------- model
------- BarcodeImageAnalyzer // Set up the Image Processor and add the process flow listener

------- BarcodeResultBoundaryAnalyzer // Based on the BarcodeResult position analyze the position relationship between barcode and scanning frame

BarcodeImageAnalyzer Flow

BarcodeImageAnalyzer

At the second step of the diagram listed above, ImageAnalyzer transform the camera captured information into ImageInfo.

You can see the info below

Image Log

BarcodeResultBoundaryAnalyzer

OutOfBoundary BoundaryOverLap InsideBoundary PerfectMatch
OutOfBoundary BoundaryOverLap InsideBoundary PerfectMatch

Permission Handling

Permission