CVBpy 15.0
ReadResult Class Reference

Base class for reading decoded barcode results. More...

Inherits object.

Inherited by ReadResult1D.

Properties

 characters_read = property
 int: The return value contains the number of characters in the read barcode.
 
 decode_time = property
 int: The return value specifies the time consumed for decoding in units of ms.
 
 location = property
 List[cvb.Point2D]: Location of the barcode inside the image.
 
 num_words = property
 int: Contains the number of code words composing the read barcode.
 
 resolution = property
 float: The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel.
 
 result = property
 int: Result of a read operation (note that read operations may partly succeed, which is not considered an error; see cvb.barcode.DecodeResult).
 
 text = property
 str: The text content of the barcode.
 
 type = property
 int: Symbology of the decoded result (see cvb.barcode.Symbology). More...
 

Detailed Description

Base class for reading decoded barcode results.

Use this result object in case of the following symbologies: Code32, FourStateAustralian, FourStateKix, FourStateRoyalMail, FourStateUsps, MicroPdf417, PharmaCode, Planet, Postnet.

Property Documentation

◆ type

type = property
static

int: Symbology of the decoded result (see cvb.barcode.Symbology).

The type element contains one of the cvb.barcode.Symbology. This can also be Symbology.None if no barcode has been recognised.