Skip to content

johnnylambada/fibamlscan

Repository files navigation

fibamlscan - Firebase ML Kit Barcode scanner Library and Example App

This library is based on the Firebase for ML Kit quickstart tutorial.

It allows you to easily integrate the Firebase ML Kit barcode scanning engine into your app. The Firebase ML Kit is better than ZXing for some bar codes, especially PDF417 used for driver's licenses.

Using this library

The following steps enable you to use this library.

generate the app/google-services.json file

General instructions are available here. You can also generate it directly using the firebase console.

Make sure the generated google-services.json file ends up in the app/ directory.

Add the Firebase SDK to your project

Documentation is available here. If you're not using Firebase in any other way, you don't have to add the implementation 'com.google.firebase:firebase-core:16.0.1' instruction to your app/build.gradle file.

Set up jitpack.io for your project

Refer to jitpack's documentation for instructions.

Add the library to your project

Add the following lines to your app/build.gradle dependencies:

// https://github.com/johnnylambada/fibamlscan
implementation "com.github.johnnylambada:fibamlscan:0.1.3"

Review the sample app to see how to integrate the library.

  1. Review the PreviewActivity.
  2. Review the PreviewActivity's layout.

About

Firebase ML Kit Barcode Scanner library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages