Holds all information related to a single detected character. More...
#include <eVision/EasyOcr/EasyOCR2/EOCR2Char.h>
Public Member Functions | |
| EOCR2Char () | |
| Constructs an EOCR2Char context. | |
| EOCR2Char (const eVision::EOCR2Char &other) | |
| Constructs an EOCR2Char context. | |
| virtual | ~EOCR2Char () throw () |
| eVision::EOCR2Char & | operator= (const eVision::EOCR2Char &other) |
| Copies all the data from another EOCR2Char object into the current EOCR2Char object. | |
| eVision::EROIBW8 & | GetBitmap () |
| The bitmap associated to this character. | |
| std::vector< eVision::EOCR2CharacterCandidate > | GetCandidates () |
| 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. | |
| eVision::ERectangle | GetBoundingBox () const |
| The bounding box associated to this character. | |
| void | SetText (const std::string &text) |
| The true value of the character, this is used during the learning phase. | |
| std::string | GetText () const |
| The true value of the character, this is used during the learning phase. | |
| void | SetTextCode (uint16_t code) |
| The true value of the character, this is used during the learning phase. | |
| EOCR2Char (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Holds all information related to a single detected character.
License(s): None
| eVision::EOCR2Char::EOCR2Char | ( | ) |
Constructs an EOCR2Char context.
| eVision::EOCR2Char::EOCR2Char | ( | const eVision::EOCR2Char & | other | ) |
|
virtual | ||||||||||||
| eVision::EOCR2Char::EOCR2Char | ( | CppWrapperInternal::InternalConstructor | ) |
| eVision::EROIBW8 & eVision::EOCR2Char::GetBitmap | ( | ) |
The bitmap associated to this character.
| eVision::ERectangle eVision::EOCR2Char::GetBoundingBox | ( | ) | const |
The bounding box associated to this character.
| std::vector< eVision::EOCR2CharacterCandidate > eVision::EOCR2Char::GetCandidates | ( | ) |
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.
| std::string eVision::EOCR2Char::GetText | ( | ) | const |
The true value of the character, this is used during the learning phase.
It is also possible to set the character value using a uint16_t code, this is done with EOCR2Char::SetTextCode.
| eVision::EOCR2Char & eVision::EOCR2Char::operator= | ( | const eVision::EOCR2Char & | other | ) |
| void eVision::EOCR2Char::SetText | ( | const std::string & | text | ) |
The true value of the character, this is used during the learning phase.
| text | A string starting with the true value of the character. |
It is also possible to set the character value using a uint16_t code, this is done with EOCR2Char::SetTextCode.
| void eVision::EOCR2Char::SetTextCode | ( | uint16_t | code | ) |
The true value of the character, this is used during the learning phase.
| code | An integer containing the ASCII representation of the character. |
It is also possible to set the character value using a std::string, this is done with EOCR2Char::SetText.
| CppWrapperInternal::WrappedClass eVision::EOCR2Char::wrappedClass_ |