eVision Python API
Loading...
Searching...
No Matches
eVision.EOCR2Char Class Reference

Holds all information related to a single detected character. More...

Public Member Functions

None __init__ (self)
 Constructs an eVision.EOCR2Char context.
None __init__ (self, eVision.EOCR2Char other)
 Constructs an eVision.EOCR2Char context.
eVision.EROIBW8 Bitmap (self)
 The bitmap associated to this character.
list[eVision._eVision.EOCR2CharacterCandidate] Candidates (self)
 The list of recognition results for all reference-characters with their respective scores.
eVision.ERectangle BoundingBox (self)
 The bounding box associated to this character.
str Text (self)
 The true value of the character, this is used during the learning phase.
 Text (self, str value)
 The true value of the character, this is used during the learning phase.

Protected Member Functions

 _TextCode__setter (self, int value)
 The true value of the character, this is used during the learning phase.

Properties

 TextCode

Detailed Description

Holds all information related to a single detected character.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EOCR2Char.__init__ ( self)

Constructs an eVision.EOCR2Char context.

◆ __init__() [2/2]

None eVision.EOCR2Char.__init__ ( self,
eVision.EOCR2Char other )

Constructs an eVision.EOCR2Char context.

Parameters
othereVision.EOCR2Char object to be copied.

Member Function Documentation

◆ _TextCode__setter()

eVision.EOCR2Char._TextCode__setter ( self,
int value )
protected

The true value of the character, this is used during the learning phase.

Remarks:

It is also possible to set the character value using a std::string, this is done with eVision.EOCR2Char.Text.

◆ Bitmap()

eVision.EROIBW8 eVision.EOCR2Char.Bitmap ( self)

The bitmap associated to this character.

◆ BoundingBox()

eVision.ERectangle eVision.EOCR2Char.BoundingBox ( self)

The bounding box associated to this character.

◆ Candidates()

list[eVision._eVision.EOCR2CharacterCandidate] eVision.EOCR2Char.Candidates ( self)

The list of recognition results for all reference-characters with their respective scores.

The list is sorted from the best score to the worst one.

◆ Text() [1/2]

str eVision.EOCR2Char.Text ( self)

The true value of the character, this is used during the learning phase.

Remarks:

It is also possible to set the character value using a uint16_t code, this is done with eVision.EOCR2Char.TextCode.

◆ Text() [2/2]

eVision.EOCR2Char.Text ( self,
str value )

The true value of the character, this is used during the learning phase.

Remarks:

It is also possible to set the character value using a uint16_t code, this is done with eVision.EOCR2Char.TextCode.

Property Documentation

◆ TextCode

eVision.EOCR2Char.TextCode
static
Initial value:
= property(None, _TextCode__setter, None,
)