This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
How to use BarcodeScanning with Xamarion.Google.MlKit.Vision.BarcodeScanning #450
Open
Description
I am trying to develop an Xamarion.Android application using Google MLLit to can scan QR codes. I am trying to follow the documentation of Google here: https://developers.google.com/ml-kit/vision/barcode-scanning/android
I create a blank project of Xamarin.Android and in the main activity, I tried to use this code:
var options = BarcodeScannerOptions.Builder
.setBarcodeFormats(Barcode.FormatQrCode)
.build();
Then problem is that BarcodeScannerOptions.Builder has not a .setBarcodeFormats method, so I don't know how to continue.
I could try to find an example here in the examples code, but I don't see any example with MLKit, it is with GSM, and when I try to open this project, it says that it can't be found the GSM namespace.
Where coudl I use MLKit or where I could find an example with the code for Xamarin.Android and MLKit?
Thanks.
Metadata
Assignees
Labels
No labels