Skip to content

This application uses Google Play Services Vision library to scan barcodes. It uses Google's on device ML kit to scan for barcodes.

License

Notifications You must be signed in to change notification settings

soumikshah/Barcode-Scanner

Repository files navigation

Barcode-Scanner

  • This application showcases use of Google Play Services Vision library

  • It uses Google's on device machine learning kit to scan for barcodes.

  • This application can scan most of the barcode types like

    - Linear formats: Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A, UPC-E

    - 2D formats: Aztec, Data Matrix, PDF417, QR Code

  • This application uses CameraSource and BarcodeDetector.

  • These particular types of barcode value is being handled gracefully in this application (For other types of data you would see raw data)

    - Wifi (SSID, password and encryption type), URL (Title and URL from the barcode), Product (Product Number from the barcode), Email address (Email Address, Subject, Body and Type), Phone number (phone number)

  • You can long press on the scanned value (on the bottom of the scanner) to copy the value to your clipboard.

  • Animation is used to show red color scanning line on the screen.

  • It natively supports dark mode.

  • It restarts CameraSource if you press rescan button. So you can rescan another barcode.

  • Libraries used are Lottie Animation and Google Play Services Vision.

Screenshot of the startup page

startupPage_barcodeScanner

Barcode scanner in action.

BarcodeScanner

About

This application uses Google Play Services Vision library to scan barcodes. It uses Google's on device ML kit to scan for barcodes.

Topics

Resources

License

Stars

Watchers

Forks

Languages