Open KannanKrish opened 8 months ago
yeah, I see the same thing. I'm using this ONLY to display QR code. Rolled back to 1.4.4 and see the QR code.
Camara Maui version 1.5.1 QR Code not shown up.
Same for me, and i also had to roll back to version 1.4.4 wat solved the problem for now.
Same here; I can detect barcodes with <= 1.4.4. Can this library detect QR codes? It cannot detect this one, even with 1.4.4.
Android Scan QR code can detect the code even from this picture
Yes, with 1.5.1 you can detect QR codes. But the configuration is a little bit different as in version 1.4.4. To use barcode detection with Camera.MAUI version 1.5.1 you also have to include the Camera.MAUI.ZXing Nuget package . Then in your sourcecode you have to specify the BarCodeDecoder property of your cameraview as shown in the screenshots and don't forget the Barcodeformat.QR code in PossibleFormats!
Hi @matthiasrijntjes, thanks for the response.
I followed the GitHub page instructions as you pointed out above, and all of the configurations are in place. But still, no joy.
I just wanted to ask you this. Camera.MAUI.Test from the master branch should work, right? I gave it a try, and neither a bar code nor a QR code was detected. I have tried both on Android and Windows.
Hi @melihercan, i've not yet tested the original Camera.MAUI.Test which is currently based on .net 7.0. I've made a new sample repository for you, with a fresh sample based on .net 8.0 and tested on a Windows laptop with frontcamera. The repository is available at https://github.com/mrijntjes/CameraMaui151sample with a sample QR code inside issue 1 on https://github.com/mrijntjes/CameraMaui151sample/issues/1. If you still experience some problems then I suggest you to open or attribute to a new issue while this issue #152 was made for QRcode generating.
@mrijntjes Thanks for the prompt response. I will give it a try tomorrow and report the results here. Thanks again.
@mrijntjes I have tested the provided repo both on Android and Windows. Android works :)
There is something wrong with the Windows settings. The following errors are observed: If you can fix it, this will be a great reference app for QR detection. Thanks for your hard work.
I'm happy to hear that you managed to scan the QR code successfully. The Windows configuration is OK (for reference, I started this repository on another PC to see if it works) but the error message you get refers to an Android component. What usually helps is to close Visual Studio, delete your project /bin and /obj folders completely, and reopen your project. Check if Debug and Windows Machine is selected and try again.
Camara Maui version 1.5.1 QR Code not shown up.
Version 1,4,4 QR Code working fine.