This project is read-only.

If Barcode doesn't exist waiting so much

Jun 2, 2011 at 3:26 PM
Edited Jun 2, 2011 at 3: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);
        }
Coordinator
Jun 13, 2011 at 7:55 PM

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

Dec 2, 2013 at 2: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.