Parameters for the user retraining of the text location model of EasyDeepOCR. More...
#include <eVision/EasyDeepLearning/EasyDeepOCR/EDeepOCRModelParametersTextLocation.h>
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_ |
Parameters for the user retraining of the text location model of EasyDeepOCR.
License(s): EasyDeepOCR
| eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::EDeepOCRModelParametersTextLocation | ( | ) |
Constructs a EDeepOCRModelParametersTextLocation.
| eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::EDeepOCRModelParametersTextLocation | ( | const eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & | other | ) |
Constructs a EDeepOCRModelParametersTextLocation.
| other | Other object to copy |
|
virtual | ||||||||||||
| eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::EDeepOCRModelParametersTextLocation | ( | CppWrapperInternal::InternalConstructor | ) |
|
virtual |
Clones the parameters.
Implements eVision::EasyDeepLearning::EDeepOCRModelParameters.
|
virtual |
Model for which the parameters are.
Implements eVision::EasyDeepLearning::EDeepOCRModelParameters.
| float eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::GetScale | ( | ) | const |
The scaling to apply to images for the location network. Default value: 1.0.
| 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.
| eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::operator= | ( | const eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation & | other | ) |
Assignment operator.
| other | Other EDeepOCRModelParametersTextLocation object to assign to this object. |
| void eVision::EasyDeepLearning::EDeepOCRModelParametersTextLocation::SetScale | ( | float | scale | ) |
The scaling to apply to images for the location network. Default value: 1.0.
| scale | Scale to apply to images for the location network (values must be in ]0,1]). |
| 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.
| threshold | Threshold (value between 0 and 1) |