Search code examples
xamarinxamarin.androidzxing

Video pixelation when using android emulator for qr scanning with ZXing.Net.Mobile


I'm trying to make a QR scanner using a xamarin project in visual studio 2017 and the ZXing.Net.Mobile package, but the video in the Android emulator is large and pixelated. Here is a pic of what I'm seeing.

What would be the reason for seeing this pixelation? It doesn't appear to be the camera output. There is also video jitter like the camera is moving while the app is running.

Any help would be greatly appreciated.


Solution

  • Turns out that it was just the test screen the emulator was displaying. The emulator didn't want to access the camera on that particular computer. I just ended up connecting a phone to the computer and testing it on that. Took a little while to work out the code, but now it works great. For me it seems like just testing it on a phone is a much better option if you are able to do so.