Result for EDeepOCRTool. More...
#include <eVision/EasyDeepLearning/EasyDeepOCR/EDeepOCRToolResult.h>
Public Member Functions | |
| EDeepOCRToolResult () | |
| Constructs a EDeepOCRToolResult. | |
| EDeepOCRToolResult (const eVision::EasyDeepLearning::EDeepOCRToolResult &other) | |
| Copy constructor of a EDeepOCRToolResult object. | |
| virtual | ~EDeepOCRToolResult () throw () |
| eVision::EasyDeepLearning::EDeepOCRToolResult & | operator= (const eVision::EasyDeepLearning::EDeepOCRToolResult &other) |
| Assignment operator. | |
| bool | IsValid () const |
| Whether the result is valid or not. | |
| eVision::EasyDeepLearning::EDeepOCRModel | GetModel () const |
| The type of model for this result. | |
| bool | HasGroundTruth () const |
| Whether the result object has an associated ground truth. | |
| int32_t | GetNumGroundTruthText () const |
| Number of ground truth texts. | |
| std::vector< eVision::EasyDeepOCR::ETextLine > | GetGroundTruth () const |
| Ground truth texts for the image. | |
| float | GetLocationThreshold () const |
| Location threshold. Default value: 0.5. | |
| void | SetLocationThreshold (float val) |
| Location threshold. Default value: 0.5. | |
| int32_t | GetNumAllLocationResults () const |
| Number of texts box detected in the image, regardless of the threshold value. | |
| int32_t | GetNumThresholdedLocationResults () const |
| Number of texts box detected in the image whose threshold is above EDeepOCRToolResult::GetLocationThreshold. | |
| std::vector< bool > | GetBoolOrientationResults () const |
| Boolean vector whose indices correspond to correct text orientations. | |
| std::vector< bool > | GetBoolRecognitionResults () const |
| Boolean vector whose indices correspond to correct text recognitions. | |
| std::vector< eVision::ERectangle > | GetThresholdedLocationResults () const |
| Location results whose score are above EDeepOCRToolResult::GetLocationThreshold. | |
| std::vector< float > | GetThresholdedLocationScores () const |
| Location scores for the results whose score are above EDeepOCRToolResult::GetLocationThreshold. | |
| std::vector< eVision::ERectangle > | GetAllLocationResults () const |
| Location results. | |
| std::vector< eVision::EasyDeepLearning::EClassificationResult > | GetAllOrientationResults () const |
| Orientation results. | |
| std::vector< std::string > | GetAllRecognitionResults () const |
| Recognized text results. | |
| std::vector< std::string > | GetAllRecognitionGroundTruths () const |
| Recognition ground truths. | |
| std::vector< float > | GetAllRecognitionScores () const |
| Recognition scores. | |
| std::vector< float > | GetAllLocationScores () const |
| Location scores. | |
| void | Load (const std::string &path) |
| Loads the EDeepOCRToolResult. The given ESerializer must have been created for writing. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the EDeepOCRToolResult. The given ESerializer must have been created for writing. | |
| void | Save (const std::string &path) |
| Saves the EDeepOCRToolResult. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the EDeepOCRToolResult. The given ESerializer must have been created for writing. | |
| EDeepOCRToolResult (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Result for EDeepOCRTool.
License(s): EasyDeepOCR
| eVision::EasyDeepLearning::EDeepOCRToolResult::EDeepOCRToolResult | ( | ) |
Constructs a EDeepOCRToolResult.
| eVision::EasyDeepLearning::EDeepOCRToolResult::EDeepOCRToolResult | ( | const eVision::EasyDeepLearning::EDeepOCRToolResult & | other | ) |
Copy constructor of a EDeepOCRToolResult object.
| other | Reference to the EDeepOCRToolResult object that should be copied |
|
virtual | ||||||||||||
| eVision::EasyDeepLearning::EDeepOCRToolResult::EDeepOCRToolResult | ( | CppWrapperInternal::InternalConstructor | ) |
| std::vector< eVision::ERectangle > eVision::EasyDeepLearning::EDeepOCRToolResult::GetAllLocationResults | ( | ) | const |
Location results.
| std::vector< float > eVision::EasyDeepLearning::EDeepOCRToolResult::GetAllLocationScores | ( | ) | const |
Location scores.
| std::vector< eVision::EasyDeepLearning::EClassificationResult > eVision::EasyDeepLearning::EDeepOCRToolResult::GetAllOrientationResults | ( | ) | const |
Orientation results.
| std::vector< std::string > eVision::EasyDeepLearning::EDeepOCRToolResult::GetAllRecognitionGroundTruths | ( | ) | const |
Recognition ground truths.
| std::vector< std::string > eVision::EasyDeepLearning::EDeepOCRToolResult::GetAllRecognitionResults | ( | ) | const |
Recognized text results.
| std::vector< float > eVision::EasyDeepLearning::EDeepOCRToolResult::GetAllRecognitionScores | ( | ) | const |
Recognition scores.
| std::vector< bool > eVision::EasyDeepLearning::EDeepOCRToolResult::GetBoolOrientationResults | ( | ) | const |
Boolean vector whose indices correspond to correct text orientations.
| std::vector< bool > eVision::EasyDeepLearning::EDeepOCRToolResult::GetBoolRecognitionResults | ( | ) | const |
Boolean vector whose indices correspond to correct text recognitions.
| std::vector< eVision::EasyDeepOCR::ETextLine > eVision::EasyDeepLearning::EDeepOCRToolResult::GetGroundTruth | ( | ) | const |
Ground truth texts for the image.
| float eVision::EasyDeepLearning::EDeepOCRToolResult::GetLocationThreshold | ( | ) | const |
Location threshold. Default value: 0.5.
The threshold must be between 0.0 and 1.
| eVision::EasyDeepLearning::EDeepOCRModel eVision::EasyDeepLearning::EDeepOCRToolResult::GetModel | ( | ) | const |
The type of model for this result.
| int32_t eVision::EasyDeepLearning::EDeepOCRToolResult::GetNumAllLocationResults | ( | ) | const |
Number of texts box detected in the image, regardless of the threshold value.
| int32_t eVision::EasyDeepLearning::EDeepOCRToolResult::GetNumGroundTruthText | ( | ) | const |
Number of ground truth texts.
| int32_t eVision::EasyDeepLearning::EDeepOCRToolResult::GetNumThresholdedLocationResults | ( | ) | const |
Number of texts box detected in the image whose threshold is above EDeepOCRToolResult::GetLocationThreshold.
| std::vector< eVision::ERectangle > eVision::EasyDeepLearning::EDeepOCRToolResult::GetThresholdedLocationResults | ( | ) | const |
Location results whose score are above EDeepOCRToolResult::GetLocationThreshold.
| std::vector< float > eVision::EasyDeepLearning::EDeepOCRToolResult::GetThresholdedLocationScores | ( | ) | const |
Location scores for the results whose score are above EDeepOCRToolResult::GetLocationThreshold.
| bool eVision::EasyDeepLearning::EDeepOCRToolResult::HasGroundTruth | ( | ) | const |
Whether the result object has an associated ground truth.
| bool eVision::EasyDeepLearning::EDeepOCRToolResult::IsValid | ( | ) | const |
Whether the result is valid or not.
| void eVision::EasyDeepLearning::EDeepOCRToolResult::Load | ( | const std::string & | path | ) |
Loads the EDeepOCRToolResult. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::EasyDeepLearning::EDeepOCRToolResult::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the EDeepOCRToolResult. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| eVision::EasyDeepLearning::EDeepOCRToolResult & eVision::EasyDeepLearning::EDeepOCRToolResult::operator= | ( | const eVision::EasyDeepLearning::EDeepOCRToolResult & | other | ) |
Assignment operator.
| other | Reference to the EDeepOCRToolResult object that should be copied |
| void eVision::EasyDeepLearning::EDeepOCRToolResult::Save | ( | const std::string & | path | ) |
Saves the EDeepOCRToolResult. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::EasyDeepLearning::EDeepOCRToolResult::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the EDeepOCRToolResult. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision::EasyDeepLearning::EDeepOCRToolResult::SetLocationThreshold | ( | float | val | ) |
Location threshold. Default value: 0.5.
The threshold must be between 0.0 and 1.
| CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::EDeepOCRToolResult::wrappedClass_ |