Skip to content

Sample QR Code Reader App for Android, using Camera X, ZXing, and Google ML Kit.

Notifications You must be signed in to change notification settings

thomashorta/SampleQRReader-android

Repository files navigation

Sample QR Code Reader

Sample app showcasing how to implement QR Code Reading in Android using CameraX and 2 different libs:

APK Sizes

It's worth mentioning that the final apk sizes using ZXing OR ML Kit are very different:

  • Google ML Kit
    • debug: 14.1 MB
    • release: 12.5 MB
  • ZXing
    • debug: 5.2 MB
    • release: 4.2 MB
  • Just CameraX (running preview only) for comparison
    • debug: 4.9 MB
    • release: 4 MB

Git repository structure

There are 2 main branches in the repo:

  • mlkit: branch with the ML Kit implementation in :app module
  • zxing: branch with the ZXing implementation in :app module

References

The implementation here was based on two posts:

About

Sample QR Code Reader App for Android, using Camera X, ZXing, and Google ML Kit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages