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

Base class for the parameters of EasyDeepOCR models for user retraining. More...

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

Inheritance diagram for eVision::EasyDeepLearning::EDeepOCRModelParameters:
Collaboration diagram for eVision::EasyDeepLearning::EDeepOCRModelParameters:

Public Member Functions

virtual ~EDeepOCRModelParameters () throw ()
virtual std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > Clone () const =0
 Clones the parameters.
virtual eVision::EasyDeepLearning::EDeepOCRModel GetModel () const =0
 Model for which the parameters are.
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)

Static Public Member Functions

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

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Base class for the parameters of EasyDeepOCR models for user retraining.

License(s): EasyDeepOCR

Constructor & Destructor Documentation

◆ ~EDeepOCRModelParameters()

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

◆ EDeepOCRModelParameters()

eVision::EasyDeepLearning::EDeepOCRModelParameters::EDeepOCRModelParameters ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Clone()

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

◆ Create() [1/2]

std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > eVision::EasyDeepLearning::EDeepOCRModelParameters::Create ( const std::string & path)
static

Creates and loads the correct parameter instance.

Parameters
pathThe file path.

◆ Create() [2/2]

std::unique_ptr< eVision::EasyDeepLearning::EDeepOCRModelParameters > eVision::EasyDeepLearning::EDeepOCRModelParameters::Create ( eVision::EasyDeepLearning::EDeepOCRModel model)
static

Creates and loads the correct parameter instance.

Parameters
modelThe model for which to create the parameters.

◆ GetModel()

virtual eVision::EasyDeepLearning::EDeepOCRModel eVision::EasyDeepLearning::EDeepOCRModelParameters::GetModel ( ) const
pure virtual

Model for which the parameters are.

Implemented in eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation.

◆ Load() [1/2]

void eVision::EasyDeepLearning::EDeepOCRModelParameters::Load ( const std::string & path)

Load the EDeepOCRModelParameters configuration. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Load() [2/2]

void eVision::EasyDeepLearning::EDeepOCRModelParameters::Load ( eVision::ESerializer * serializer)

Load the EDeepOCRModelParameters configuration. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Save() [1/2]

void eVision::EasyDeepLearning::EDeepOCRModelParameters::Save ( const std::string & path)

Save the EDeepOCRModelParameters configuration. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Save() [2/2]

void eVision::EasyDeepLearning::EDeepOCRModelParameters::Save ( eVision::ESerializer * serializer)

Save the EDeepOCRModelParameters configuration. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::EDeepOCRModelParameters::wrappedClass_