ImageGear .NET v25.2 - Updated
ImageGear.Barcode Assembly / ImageGear.Barcode Namespace / ImGearBarcodeResult Class / Confidence Property




In This Topic
    Confidence Property (ImGearBarcodeResult)
    In This Topic
    Gets the confidence of the recognized barcode.
    Syntax
    'Declaration
     
    Public ReadOnly Property Confidence As Integer
    'Usage
     
    Dim instance As ImGearBarcodeResult
    Dim value As Integer
     
    value = instance.Confidence
    public int Confidence {get;}
    public: __property int get_Confidence();
    public:
    property int Confidence {
       int get();
    }

    Property Value

    A long which represents the confidence of the barcode.
    Remarks

    Barcodes are assumed to have a 100 percent confidence from which points are deducted. Confidence reporting is based on several factors:

    • Barcodes that require the use of check digits that have not produced the anticipated check sum value will cause a reduced confidence. Invalid check sums will have a reduction of at least 50.
    • Barcodes that are recognized but that also include errors will cause a reduction in confidence. These could be barcodes that were recovered because of the check sum. The confidence of these barcodes is reduced by as much as 30.

    All of these modifications of the confidence can be combined.

    See the ImGearBarcodeResult Class for more information about retrieving results.

    See Also