Skip to content

Remzoo/BarcodeScanner

Repository files navigation

BarcodeScanner

BarcodeScanner is a sample application which uses Google Vision API. There is ability to limit detection area by setting parameters in CameraSourcePreview view. Works for portrait and landscape mode. Supporting flash and beep sound on barcode detection.

Preview

Launching Scanner Activity

            Intent(this, BarcodeScannerActivity::class.java).apply {
                putExtra(BarcodeScannerActivity.EXTRA_BEEP_ENABLED, true)
                putExtra(BarcodeScannerActivity.EXTRA_FLASH_ENABLED, true)
            }.also {
                startActivityForResult(it, 9001)
            }

About

Barcode scanner with ability to limit detection area

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published