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

Holds a vector of EOCR2Char objects representing a word. More...

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

Collaboration diagram for eVision::EOCR2Word:

Public Member Functions

 EOCR2Word ()
 Constructs an EOCR2Word context.
 EOCR2Word (const eVision::EOCR2Word &other)
 Constructs an EOCR2Word context.
virtual ~EOCR2Word () throw ()
eVision::EOCR2Word & operator= (const eVision::EOCR2Word &other)
 Copies all the data from another EOCR2Word object into the current EOCR2Word object.
std::vector< eVision::EOCR2Char > GetCharacters ()
 The vector of EOCR2Char objects representing the word.
void SetCharacters (std::vector< eVision::EOCR2Char > characters)
 The vector of EOCR2Char objects representing the word.
eVision::ERectangle GetBoundingBox () const
 The bounding box of the word, encapsulating all characters in the word.
void SetText (const std::string &text)
 The true value of all characters in the word.
std::string GetText () const
 The true value of all characters in the word.
 EOCR2Word (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Holds a vector of EOCR2Char objects representing a word.

License(s): None

Constructor & Destructor Documentation

◆ EOCR2Word() [1/3]

eVision::EOCR2Word::EOCR2Word ( )

Constructs an EOCR2Word context.

◆ EOCR2Word() [2/3]

eVision::EOCR2Word::EOCR2Word ( const eVision::EOCR2Word & other)

Constructs an EOCR2Word context.

Parameters
otherEOCR2Word object to be copied.

◆ ~EOCR2Word()

eVision::EOCR2Word::~EOCR2Word ( )
throw ( )
virtual

◆ EOCR2Word() [3/3]

eVision::EOCR2Word::EOCR2Word ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetBoundingBox()

eVision::ERectangle eVision::EOCR2Word::GetBoundingBox ( ) const

The bounding box of the word, encapsulating all characters in the word.

◆ GetCharacters()

std::vector< eVision::EOCR2Char > eVision::EOCR2Word::GetCharacters ( )

The vector of EOCR2Char objects representing the word.

◆ GetText()

std::string eVision::EOCR2Word::GetText ( ) const

The true value of all characters in the word.

◆ operator=()

eVision::EOCR2Word & eVision::EOCR2Word::operator= ( const eVision::EOCR2Word & other)

Copies all the data from another EOCR2Word object into the current EOCR2Word object.

Parameters
otherEOCR2Word object to be copied

◆ SetCharacters()

void eVision::EOCR2Word::SetCharacters ( std::vector< eVision::EOCR2Char > characters)

The vector of EOCR2Char objects representing the word.

◆ SetText()

void eVision::EOCR2Word::SetText ( const std::string & text)

The true value of all characters in the word.

Parameters
textA string containing the true value of all characters in the word.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EOCR2Word::wrappedClass_