Jetpack Compose Barcode Scanner
Jetpack Compose + Google ML Kit - Barcode Scanning
barcode_screen_recording.mp4
- 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
At the second step of the diagram listed above, ImageAnalyzer transform the camera captured information into ImageInfo.
You can see the info below
OutOfBoundary | BoundaryOverLap | InsideBoundary | PerfectMatch |
---|---|---|---|