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

Parameters for the user retraining of the text location model of EasyDeepOCR. More...

#include <eVision/EasyDeepLearning/EasyDeepOCR/EDeepOCRModelParametersTextLocation.h>

Inheritance diagram for eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation:
Collaboration diagram for eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation:

Public Member Functions

 EDeepOCRModelParametersTextLocation ()
 Constructs a EDeepOCRModelParametersTextLocation.
 EDeepOCRModelParametersTextLocation (const eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation &other)
 Constructs a EDeepOCRModelParametersTextLocation.
virtual ~EDeepOCRModelParametersTextLocation () throw ()
eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & operator= (const eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation &other)
 Assignment operator.
virtual std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > Clone () const
 Clones the parameters.
float GetScale () const
 The scaling to apply to images for the location network. Default value: 1.0.
void SetScale (float scale)
 The scaling to apply to images for the location network. Default value: 1.0.
float GetThreshold () const
 Threshold for excluding text box from the location network. Default value: 0.5.
void SetThreshold (float threshold)
 Threshold for excluding text box from the location network. Default value: 0.5.
virtual eVision::EasyDeepLearning::EDeepOCRModel GetModel () const
 Model for which the parameters are.
 EDeepOCRModelParametersTextLocation (CppWrapperInternal::InternalConstructor)
Public Member Functions inherited from eVision::EasyDeepLearning::EDeepOCRModelParameters
virtual ~EDeepOCRModelParameters () throw ()
void Load (const std::string &path)
 Load the EDeepOCRModelParameters configuration. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Load the EDeepOCRModelParameters configuration. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Save the EDeepOCRModelParameters configuration. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Save the EDeepOCRModelParameters configuration. The given ESerializer must have been created for writing.
 EDeepOCRModelParameters (CppWrapperInternal::InternalConstructor)

Additional Inherited Members

Static Public Member Functions inherited from eVision::EasyDeepLearning::EDeepOCRModelParameters
static std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > Create (const std::string &path)
 Creates and loads the correct parameter instance.
static std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > Create (eVision::EasyDeepLearning::EDeepOCRModel model)
 Creates and loads the correct parameter instance.
Public Attributes inherited from eVision::EasyDeepLearning::EDeepOCRModelParameters
CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Parameters for the user retraining of the text location model of EasyDeepOCR.

License(s): EasyDeepOCR

Constructor & Destructor Documentation

◆ EDeepOCRModelParametersTextLocation() [1/3]

eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::EDeepOCRModelParametersTextLocation ( )

◆ EDeepOCRModelParametersTextLocation() [2/3]

eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::EDeepOCRModelParametersTextLocation ( const eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & other)

Constructs a EDeepOCRModelParametersTextLocation.

Parameters
otherOther object to copy

◆ ~EDeepOCRModelParametersTextLocation()

eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::~EDeepOCRModelParametersTextLocation ( )
throw ( )
virtual

◆ EDeepOCRModelParametersTextLocation() [3/3]

eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::EDeepOCRModelParametersTextLocation ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Clone()

std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::Clone ( ) const
virtual

Clones the parameters.

Implements eVision::EasyDeepLearning::EDeepOCRModelParameters.

◆ GetModel()

eVision::EasyDeepLearning::EDeepOCRModel eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::GetModel ( ) const
virtual

Model for which the parameters are.

Implements eVision::EasyDeepLearning::EDeepOCRModelParameters.

◆ GetScale()

float eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::GetScale ( ) const

The scaling to apply to images for the location network. Default value: 1.0.

◆ GetThreshold()

float eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::GetThreshold ( ) const

Threshold for excluding text box from the location network. Default value: 0.5.

Text boxes with a score below this threshold are rejected.

◆ operator=()

eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::operator= ( const eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & other)

Assignment operator.

Parameters
otherOther EDeepOCRModelParametersTextLocation object to assign to this object.

◆ SetScale()

void eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::SetScale ( float scale)

The scaling to apply to images for the location network. Default value: 1.0.

Parameters
scaleScale to apply to images for the location network (values must be in ]0,1]).

◆ SetThreshold()

void eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::SetThreshold ( float threshold)

Threshold for excluding text box from the location network. Default value: 0.5.

Text boxes with a score below this threshold are rejected.

Parameters
thresholdThreshold (value between 0 and 1)