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

[Feature request] Fetch entire image that matched #174

Open
wolph opened this issue Apr 26, 2021 · 5 comments
Open

[Feature request] Fetch entire image that matched #174

wolph opened this issue Apr 26, 2021 · 5 comments

Comments

@wolph
Copy link

wolph commented Apr 26, 2021

I have a use-case where I need to fetch the entire image, and if the QR code matches I know the rest of the details should be sharp enough for me to use.

Is there any easy way of doing this?

@rmtmckenzie
Copy link
Owner

The easiest solution might be to use something like this : https://pub.dev/packages/screenshot. However, that's only going to be at the resolution of the screen.

If you need to capture a higher quality shot, that's going to require some custom code - that could potentially be a new feature but I realistically don't think I'll have any time to work on it any time soon.

@wolph
Copy link
Author

wolph commented Apr 26, 2021

Interesting option but the resolution will be too limited for my case.

Alternatively, is it an option to take a picture from flutter and send that to QR Mobile Vision for QR detection? It's less ideal but I think that would work for me.

@rmtmckenzie
Copy link
Owner

Hmmm. If you want to do that I'd try using the flutter camera plugin in conjunction with the official(ish) firebase mobile plugin: https://pub.dev/packages/firebase_ml_vision.

The performance and feature set of those plugins wasn't conducive to what I needed which is why I wrote this one (plus they limit support to pretty recent versions with the camera plugin especially), but nowadays (and once they fixed a couple of pretty serious memory leaks) you could probably get away with just streaming images directly from the camera to the mobile vision library. It might be worth a try anyways.

@wolph
Copy link
Author

wolph commented Apr 27, 2021

Great! Thank you so much for the help :)

@rmtmckenzie
Copy link
Owner

np =). I'll leave the issue open for now as this may be something I'd consider in the future if I ever get time to work on the plugin again.

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