CVBpy 15.0
Result Class Reference

Class for storing the results of decoding. More...

Properties

 center = property
 cvb.Point2D: Gets center coordinates of read code.
 
 corners = property
 List[cvb.Point2D]: Gets corner coordinates of read code.
 
 data = property
 str: Gets the decoded data.
 
 decode_status = property
 int: Gets decoding status of read code (see cvb.code_reader.DecodeStatus).
 
 result_2d = property
 Optional[cvb.code_reader.Result2D]: Gets the result of a 2D code, if available.
 
 symbology_type = property
 int: Gets symbology type of read code (see cvb.code_reader.Symbology).
 

Detailed Description

Class for storing the results of decoding.

This class holds the results of a dec. After executing the decoding process with Decoder.execute(), a list of Result objects is returned, containing the decoding outcomes.

Property Documentation

◆ corners

corners = property
static

List[cvb.Point2D]: Gets corner coordinates of read code.

The corners define the bounding box of the decoded code, listed in clockwise order starting from corner 0. Corner 0 corresponds to the upper-left corner of the code in its standard, unrotated orientation.