How to read barcodes with the camera on Android?

前端 未结 9 1612
广开言路
广开言路 2020-12-07 19:24

I want my application to recognize barcodes taken by camera. Is it possible using Android SDK?

Something like this: Barcode Scanner

9条回答
  •  青春惊慌失措
    2020-12-07 19:30

    There are two parts in building barcode scanning feature, one capturing barcode image using camera and second extracting barcode value from the image.

    Barcode image can be captured from your app using camera app and barcode value can be extracted using Firebase Machine Learning Kit barcode scanning API.

    Here is an example app https://www.zoftino.com/android-barcode-scanning-example

提交回复
热议问题