65.9K
CodeProject is changing. Read more.
Home

Android Camera2 Barcode Sample

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Jul 25, 2019

MIT
viewsIcon

5541

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

  1. Get a valid trial license of Dynamsoft Barcode SDK.

  2. Open the project in Android Studio.

  3. Set the license in Camera2BasicFragment.java:

    mBarcodeReader = new BarcodeReader("LICENSE-KEY"); 
  4. Build and run the app:

    Android Camera2 Barcode

Blog

Android Barcode Detection from Fast Moving Objects