Properties | List of all members
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. More...
 
 decode_time = property
 int: The return value specifies the time consumed for decoding in units of ms. More...
 
 location = property
 List[cvb.Point2D]: Location of the barcode inside the image. More...
 
 num_words = property
 int: Contains the number of code words composing the read barcode. More...
 
 resolution = property
 float: The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel. More...
 
 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). More...
 
 text = property
 str: The text content of the barcode. More...
 
 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

◆ characters_read

characters_read = property
static

int: The return value contains the number of characters in the read barcode.

◆ decode_time

decode_time = property
static

int: The return value specifies the time consumed for decoding in units of ms.

◆ location

location = property
static

List[cvb.Point2D]: Location of the barcode inside the image.

◆ num_words

num_words = property
static

int: Contains the number of code words composing the read barcode.

◆ resolution

resolution = property
static

float: The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel.

◆ result

result = property
static

int: Result of a read operation (note that read operations may partly succeed, which is not considered an error; see cvb.barcode.DecodeResult).

◆ text

text = property
static

str: The text content of the barcode.

◆ 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.