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

Holds a vector of EOCR2Word objects representing a line. More...

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

Collaboration diagram for eVision::EOCR2Line:

Public Member Functions

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

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Holds a vector of EOCR2Word objects representing a line.

License(s): None

Constructor & Destructor Documentation

◆ EOCR2Line() [1/3]

eVision::EOCR2Line::EOCR2Line ( )

Constructs an EOCR2Line context.

◆ EOCR2Line() [2/3]

eVision::EOCR2Line::EOCR2Line ( const eVision::EOCR2Line & other)

Constructs an EOCR2Line context.

Parameters
otherEOCR2Line object to be copied.

◆ ~EOCR2Line()

eVision::EOCR2Line::~EOCR2Line ( )
throw ( )
virtual

◆ EOCR2Line() [3/3]

eVision::EOCR2Line::EOCR2Line ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetBoundingBox()

eVision::ERectangle eVision::EOCR2Line::GetBoundingBox ( ) const

The bounding box encapsulating all characters in the line.

◆ GetText()

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

The true value of all characters in the line.

Use a space to separate two words.

◆ GetWords()

std::vector< eVision::EOCR2Word > eVision::EOCR2Line::GetWords ( )

The vector of EOCR2Word objects representing the line.

◆ operator=()

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

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

Parameters
otherEOCR2Line object to be copied

◆ SetText()

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

The true value of all characters in the line.

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

Use a space to separate two words.

◆ SetWords()

void eVision::EOCR2Line::SetWords ( std::vector< eVision::EOCR2Word > words)

The vector of EOCR2Word objects representing the line.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EOCR2Line::wrappedClass_