If Barcode doesn't exist waiting so much

Jun 2, 2011 at 2:26 PM
Edited Jun 2, 2011 at 2:28 PM

In my project,

If Images has a barcode, that's ok.

But the images doesn't has a barcode waiting so much then return null.


public static BarcodeResult GetQrCode(WriteableBitmap bmp)
            ExtendedImage img = ImageExtensions.ToImage(bmp);
            ZXingBarcodeReader rd = new ZXingBarcodeReader(true, BinarizerMode.Histogram);
            return rd.ReadBarcode(img);
Jun 13, 2011 at 6:55 PM

Sorry, I cannot change this. The barcode library is not from me and a third party component.

Dec 2, 2013 at 1:41 AM
Then you can try an image barcode reader which is ok for image containg barcode or not, the information will be returned in high speed and high accurancy.