The sample demonstrates how to scan barcodes from fast moving objects by adjusting the shutter speed. The code implementation is based on Android Camera2Basic and Dynamsoft Barcode Reader.
Usage
Get a valid trial license of Dynamsoft Barcode SDK.
Open the project in Android Studio
.
Set the license in Camera2BasicFragment.java
:
mBarcodeReader = new BarcodeReader("LICENSE-KEY");
Build and run the app:
![Android Camera2 Barcode](https://camo.githubusercontent.com/98b0cff38a79d0bd4eae2e683dee3e5a1a06c5d9/68747470733a2f2f7777772e636f6465706f6f6c2e62697a2f77702d636f6e74656e742f75706c6f6164732f323031392f30352f616e64726f69642d63616d657261322d626172636f64652e676966)
Blog
Android Barcode Detection from Fast Moving Objects