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.
-
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: