Zxing Reading Algorithm Black Boxes

136 Views Asked by At

I am using zxing algorithm to read barcode with C#. I noticed that Zxing is not reading when the barcode is black around, how can I fix this problem? My image and code is given under this post.

       ZXing.BarcodeReader reader = new ZXing.BarcodeReader
        {
            AutoRotate = true,
            TryInverted = true,
            Options = new ZXing.Common.DecodingOptions
            {
                TryHarder = true,
                PureBarcode = false,
                PossibleFormats = Formats,                   
            }
        };

enter image description here

0

There are 0 best solutions below