Open CodeLikeAlex opened 7 months ago
we swapped out this scanning library that uses the platform-native ML libraries for detection: https://github.com/afriscic/BarcodeScanning.Native.Maui
I have the exact same problem, did you ever found a solution ?
CaptureDevicePerformWithLockedConfiguration(() => captureDevice.VideoZoomFactor = 4); in the 'CameraManager' class and UpdateCamera method
we swapped out this scanning library that uses the platform-native ML libraries for detection: https://github.com/afriscic/BarcodeScanning.Native.Maui
This work great in NET 8...But I need it working on NET 7. Tried the back port but Xamarin.AndroidX libraries have serious version references problems.
Most of the time detecting barcodes is really bad.. I move it in different directions, with more light, but that doesn't really help. I move is 20 Seconds and mostly without a detection. But sometimes one is recognized. I cannot see a difference on the Device-Log. Testing on Pixel 7a, Pixel 5 and some other Androids.
Our barcodes are quite small. Previously, we used zxing on Xamarin, this is so good and fast with our barcodes. Bad light and long distances were not a problem there.
But here we have to stay very calm at a certain distance in order to sometimes detect a code. Also tried with different flag without improvement. ( AutoRotate = true, TryHarder = true, Multiple = false )
If there are some workarounds please let us know. Our app is ready, that's the only thing that's stopping us..
Thank you and best regards Alex :)