Skip to content

Barcode scanning accuracy degradation compared to Xamarin ZXing.Net.Mobile.Forms #299

@eeadie

Description

@eeadie

Hi,

I’ve found the barcode scanning accuracy (for example, EAN‑13) to be significantly poorer with this package compared to the Xamarin equivalent, ZXing.Net.Mobile.Forms.

MAUI camera options

 cameraBarcodeReaderView.Options = new BarcodeReaderOptions
 {
     TryHarder = true,
     TryInverted = false,
     AutoRotate = true,
     Multiple = true
 };

Xamarin camera options

scanView.Options.DelayBetweenAnalyzingFrames = 5;
scanView.Options.DelayBetweenContinuousScans = 2000;
scanView.Options.InitialDelayBeforeAnalyzingFrames = 300;
scanView.Options.TryHarder = false;
scanView.Options.TryInverted = false;
scanView.Options.AutoRotate = false;
scanView.Options.UseFrontCameraIfAvailable = false;

When the TryHarder option is set to false in the MAUI configuration, no barcodes are scanned at all. This differs from the behaviour of the previous Xamarin package, where scanning continued to function with TryHarder disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions