rmtmckenzie / flutter_qr_mobile_vision

QR reader plugin using mobile vision API for Flutter.
MIT License
215 stars 185 forks source link

Support for inverted barcodes #150

Open okuribko opened 4 years ago

okuribko commented 4 years ago

I need to be able to scan inverted barcodes (white on dark background). I know that firebase mobile vision does not support this feature. Perhaps it is possible to invert the image from the camera and pass it to the mobile vision api. Any ideas how to achieve this?

mhilalsh commented 3 years ago

did you find any package or solution for that? I'm trying to scan an inverted data matrix code but still no clue.

atarana commented 2 years ago

Still no updates about this issue?

mhilalsh commented 2 years ago

Still no updates about this issue?

@atarana I've solved that long ago using google ml kit, I took frames using flutter camera preview and manipulated the YUV image bytes taken by the stream and sent it to the ml kit to scan it and it worked.. that's the only way I found

https://github.com/bharat-biradar/Google-Ml-Kit-plugin/issues/148