Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing reference for MLKitAnalyzer #1

Open
haavamoa opened this issue Feb 16, 2024 · 3 comments
Open

Missing reference for MLKitAnalyzer #1

haavamoa opened this issue Feb 16, 2024 · 3 comments

Comments

@haavamoa
Copy link

Hi, very nice samples. I am inspired by it and are implementing the same.

I was wondering with the CameraXMlKit part:
I am having issues resolving MlKitAnalyzer object. Did this work you at a point?

image

@haavamoa
Copy link
Author

I've reached out here, but I am curious if this ever worked for you.

@v-hogood
Copy link
Owner

v-hogood commented Feb 19, 2024 via email

@haavamoa
Copy link
Author

Hi, thanks for replying. I was unaware that this library was in pre-release.

I actually got it working. Instead of using MlKit analyzer, we can actually create our own analyzer and forward the image to the MLKit barcode scanner.

Here is where I forward the image to the bar code scanner client:
https://github.com/DIPSAS/DIPS.Mobile.UI/blob/4f2bbac67af88d3b32a71e42b502043b6aaf8925/src/library/DIPS.Mobile.UI/API/Camera/BarcodeScanning/Android/BarcodeScanner.cs#L108

I found this from the MLKit bar code scanning docs.

Btw, a bit off topic, but I was amazed of how many different ways one can implement bar code scanning with MLKit. It was not a easy read on what solution would be the best or why I would pick one over the other...:P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants