eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EOCR2CharacterCandidate Struct Reference

Holds a single recognition score for a detected character from the image. More...

#include <eVision/EasyOcr/EasyOCR2/EOCR2CharacterCandidate.h>

Public Member Functions

 EOCR2CharacterCandidate ()
 Constructs an EOCR2CharacterCandidate context.
 EOCR2CharacterCandidate (uint16_t code, float score)
 Constructs an EOCR2CharacterCandidate context.

Public Attributes

uint16_t Code
 Contains the ASCII-representation of the reference character from the database.
float Score
 Contains the recognition score between the detected character and the reference character.

Detailed Description

Holds a single recognition score for a detected character from the image.

The variable "code" contains the ASCII-representation of the reference character from the database. The variable "score" contains the recognition score between the detected character and the reference character.

License(s): None

Constructor & Destructor Documentation

◆ EOCR2CharacterCandidate() [1/2]

eVision::EOCR2CharacterCandidate::EOCR2CharacterCandidate ( )

Constructs an EOCR2CharacterCandidate context.

◆ EOCR2CharacterCandidate() [2/2]

eVision::EOCR2CharacterCandidate::EOCR2CharacterCandidate ( uint16_t code,
float score )

Constructs an EOCR2CharacterCandidate context.

Parameters
codeASCII-representation of the reference character from the database
scorerecognition score between the detected character and the reference character

Member Data Documentation

◆ Code

uint16_t eVision::EOCR2CharacterCandidate::Code

Contains the ASCII-representation of the reference character from the database.

◆ Score

float eVision::EOCR2CharacterCandidate::Score

Contains the recognition score between the detected character and the reference character.