Skip to content

Cannot get ZXing to scan dense/wide 2D barcodes #1083

@JayD2019

Description

@JayD2019

Prior to attempting to integrate ZXing Barcode scanning into our Xamarin.Android App (to scan 2D barcodes of drivers licenses using camera), I downloaded and built the following sample app. from: https://github.com/Redth/ZXing.Net.Mobile/tree/master/Samples/Sample.Android.

It needed the latest nuget package which is actually called: ZXing.Net.MobileX.Forms (so it took me a while to realize it was the correct one), with the fix for a crash on invoking the scan but it works now. It is a neat app with a menu of about 4 or 5 button options, of which I only used options 1 & 3.

BUT, It only scans 2D barcodes if they are fairly narrow (<= 1 cm wide) and relatively simple; these scan really quickly. (1D barcodes are scanned fine too)

Dense 2D barcodes and those wider than 1 cm do not get scanned at all - even with the flash on. Do you know why this is and can anything be done? I have set all the relevant parameters I can find). Interestingly, I had the same issue when I tried using Google Vision also.

Thanks

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