Click here to Skip to main content
15,890,506 members
Articles / Mobile Apps / Android

Android Camera2 Barcode Sample

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
25 Jul 2019MIT 5.3K   3  

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:

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

    Android Camera2 Barcode

Blog

Android Barcode Detection from Fast Moving Objects

This article was originally posted at https://github.com/yushulx/android-camera2-barcode

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Technical Writer Dynamsoft
Canada Canada
Xiao Ling is A technical content writer at Dynamsoft, the leading company of document capture and image processing SDKs.
He is in charge of managing Dynamsoft blog site codepool.biz and Dynamsoft GitHub community.

Comments and Discussions

 
-- There are no messages in this forum --