ConfidenceLevel Property

NI Vision for Visual Basic

ConfidenceLevel Property

Syntax

CWIMAQBarcodeReportItem.ConfidenceLevel

Data Type

Double

Purpose

Quality measure of the decoded barcode ranging from 0 to 1000, where 1000 is the best.

Remarks

This value weights the error in the widths of the bars and spaces with the size of the character in the barcode. In general, a confidence level of less than 800 means the decoded string is suspect.

Note  The ConfidenceLevel is particularly useful in decoding EAN 13 barcodes because 11 of the 12 values are encoded as characters in the barcode, and the 12th value is encoded by the parity of the first 11 encoded characters.