ZxBarcode Methods

CVB.Net Documentation
Methods

  NameDescription
Public methodStatic memberBinarize(ImagePlane, ZxBarcodeBinarizationMode)
This function applies the binarization that the function Read(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)/ReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology) is going to use internally. This can be useful for judging whether which binarization will be good enough for reading the code(s). Note that it is not necessary to apply binarization to an image prior Read(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)/ReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology) as these methods will always automatically binarize the image passed to it.

Please note that this function is not guaranteed to be thread-safe and we strongly advise against calling it simultaneously from different threads.

This function uses the zxing-cpp library (see https://github.com/glassechidna/zxing-cpp). zxing-cpp is a fork of the zxing project and is published under the Apache v2.0 license which requires applications and libraries that make use of this function to declare in their license information that they are using the zxing-cpp library. This may be done e.g. by adding a link to the zxing-cpp project page and the Apache v2.0 license terms (https://github.com/glassechidna/zxing-cpp/blob/master/COPYING) e.g. to a "Help" or "About" screen. In Common Vision Blox the respective links have been added to the document \a OpenSourceLicenses.chm.

Public methodStatic memberBinarize(ImagePlane, Rect, ZxBarcodeBinarizationMode)
This function applies the binarization that the function Read(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)/ReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology) is going to use internally. This can be useful for judging whether which binarization will be good enough for reading the code(s). Note that it is not necessary to apply binarization to an image prior Read(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)/ReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology) as these methods will always automatically binarize the image passed to it.
Public methodStatic memberRead(ImagePlane, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)
Read a bar code in an image. Unlike its counterpart, ReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology), this function only reads one code. For an image with more than one code of the selected symbology it is undefined which code will be returned.
Public methodStatic memberRead(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)
Read a bar code in an image. Unlike its counterpart, ReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology), this function only reads one code. For an image with more than one code of the selected symbology it is undefined which code will be returned.
Public methodStatic memberReadMultiple(ImagePlane, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)
Read multiple barcodes in an image. Unlike its counterpart Read(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology), this function reads up to 256 recognizable codes of the selected symbologies in an image.
Public methodStatic memberReadMultiple(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology)
Read multiple barcodes in an image. Unlike its counterpart Read(ImagePlane, Rect, ZxBarcodeBinarizationMode, ZxBarcodeThoroughness, ZxBarcodeSymbology), this function reads up to 256 recognizable codes of the selected symbologies in an image.
Top
See Also

Reference