eVision Python API
Loading...
Searching...
No Matches
eVision.EasyDeepLearning.EDeepOCRToolResult Class Reference

Result for eVision.EasyDeepLearning.EDeepOCRTool. More...

Public Member Functions

None __init__ (self)
 Constructs a eVision.EasyDeepLearning.EDeepOCRToolResult.
None __init__ (self, eVision.EasyDeepLearning.EDeepOCRToolResult other)
 Copy constructor of a eVision.EasyDeepLearning.EDeepOCRToolResult object.
bool IsValid (self)
 Whether the result is valid or not.
bool HasGroundTruth (self)
 Whether the result object has an associated ground truth.
None Load (self, str path)
 Loads the eVision.EasyDeepLearning.EDeepOCRToolResult.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.EasyDeepLearning.EDeepOCRToolResult.
None Save (self, str path)
 Saves the eVision.EasyDeepLearning.EDeepOCRToolResult.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.EasyDeepLearning.EDeepOCRToolResult.
eVision.EasyDeepLearning.EDeepOCRModel Model (self)
 The type of model for this result.
int NumGroundTruthText (self)
 Number of ground truth texts.
list[eVision._eVision.EasyDeepOCR.ETextLine] GroundTruth (self)
 Ground truth texts for the image.
float LocationThreshold (self)
 Location threshold.
 LocationThreshold (self, float value)
 Location threshold.
int NumAllLocationResults (self)
 Number of texts box detected in the image, regardless of the threshold value.
int NumThresholdedLocationResults (self)
 Number of texts box detected in the image whose threshold is above eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold.
list[bool] BoolOrientationResults (self)
 Boolean vector whose indices correspond to correct text orientations.
list[bool] BoolRecognitionResults (self)
 Boolean vector whose indices correspond to correct text recognitions.
list[eVision._eVision.ERectangle] ThresholdedLocationResults (self)
 Location results whose score are above eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold.
list[float] ThresholdedLocationScores (self)
 Location scores for the results whose score are above eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold.
list[eVision._eVision.ERectangle] AllLocationResults (self)
 Location results.
list[eVision._eVision.EasyDeepLearning.EClassificationResult] AllOrientationResults (self)
 Orientation results.
list[str] AllRecognitionResults (self)
 Recognized text results.
list[str] AllRecognitionGroundTruths (self)
 Recognition ground truths.
list[float] AllRecognitionScores (self)
 Recognition scores.
list[float] AllLocationScores (self)
 Location scores.

Detailed Description

Result for eVision.EasyDeepLearning.EDeepOCRTool.

Remarks:

License(s): EasyDeepOCR

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EasyDeepLearning.EDeepOCRToolResult.__init__ ( self)

◆ __init__() [2/2]

None eVision.EasyDeepLearning.EDeepOCRToolResult.__init__ ( self,
eVision.EasyDeepLearning.EDeepOCRToolResult other )

Copy constructor of a eVision.EasyDeepLearning.EDeepOCRToolResult object.

Parameters
otherReference to the eVision.EasyDeepLearning.EDeepOCRToolResult object that should be copied

Member Function Documentation

◆ AllLocationResults()

list[eVision._eVision.ERectangle] eVision.EasyDeepLearning.EDeepOCRToolResult.AllLocationResults ( self)

Location results.

◆ AllLocationScores()

list[float] eVision.EasyDeepLearning.EDeepOCRToolResult.AllLocationScores ( self)

Location scores.

◆ AllOrientationResults()

list[eVision._eVision.EasyDeepLearning.EClassificationResult] eVision.EasyDeepLearning.EDeepOCRToolResult.AllOrientationResults ( self)

Orientation results.

◆ AllRecognitionGroundTruths()

list[str] eVision.EasyDeepLearning.EDeepOCRToolResult.AllRecognitionGroundTruths ( self)

Recognition ground truths.

◆ AllRecognitionResults()

list[str] eVision.EasyDeepLearning.EDeepOCRToolResult.AllRecognitionResults ( self)

Recognized text results.

◆ AllRecognitionScores()

list[float] eVision.EasyDeepLearning.EDeepOCRToolResult.AllRecognitionScores ( self)

Recognition scores.

◆ BoolOrientationResults()

list[bool] eVision.EasyDeepLearning.EDeepOCRToolResult.BoolOrientationResults ( self)

Boolean vector whose indices correspond to correct text orientations.

◆ BoolRecognitionResults()

list[bool] eVision.EasyDeepLearning.EDeepOCRToolResult.BoolRecognitionResults ( self)

Boolean vector whose indices correspond to correct text recognitions.

◆ GroundTruth()

list[eVision._eVision.EasyDeepOCR.ETextLine] eVision.EasyDeepLearning.EDeepOCRToolResult.GroundTruth ( self)

Ground truth texts for the image.

◆ HasGroundTruth()

bool eVision.EasyDeepLearning.EDeepOCRToolResult.HasGroundTruth ( self)

Whether the result object has an associated ground truth.

◆ IsValid()

bool eVision.EasyDeepLearning.EDeepOCRToolResult.IsValid ( self)

Whether the result is valid or not.

◆ Load() [1/2]

None eVision.EasyDeepLearning.EDeepOCRToolResult.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.EasyDeepLearning.EDeepOCRToolResult.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ Load() [2/2]

None eVision.EasyDeepLearning.EDeepOCRToolResult.Load ( self,
str path )

Loads the eVision.EasyDeepLearning.EDeepOCRToolResult.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ LocationThreshold() [1/2]

float eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold ( self)

Location threshold.

Default value: 0.5.

The threshold must be between 0.0 and 1.

◆ LocationThreshold() [2/2]

eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold ( self,
float value )

Location threshold.

Default value: 0.5.

The threshold must be between 0.0 and 1.

◆ Model()

eVision.EasyDeepLearning.EDeepOCRModel eVision.EasyDeepLearning.EDeepOCRToolResult.Model ( self)

The type of model for this result.

◆ NumAllLocationResults()

int eVision.EasyDeepLearning.EDeepOCRToolResult.NumAllLocationResults ( self)

Number of texts box detected in the image, regardless of the threshold value.

◆ NumGroundTruthText()

int eVision.EasyDeepLearning.EDeepOCRToolResult.NumGroundTruthText ( self)

Number of ground truth texts.

◆ NumThresholdedLocationResults()

int eVision.EasyDeepLearning.EDeepOCRToolResult.NumThresholdedLocationResults ( self)

Number of texts box detected in the image whose threshold is above eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold.

◆ Save() [1/2]

None eVision.EasyDeepLearning.EDeepOCRToolResult.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.EasyDeepLearning.EDeepOCRToolResult.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ Save() [2/2]

None eVision.EasyDeepLearning.EDeepOCRToolResult.Save ( self,
str path )

Saves the eVision.EasyDeepLearning.EDeepOCRToolResult.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ ThresholdedLocationResults()

list[eVision._eVision.ERectangle] eVision.EasyDeepLearning.EDeepOCRToolResult.ThresholdedLocationResults ( self)

Location results whose score are above eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold.

◆ ThresholdedLocationScores()

list[float] eVision.EasyDeepLearning.EDeepOCRToolResult.ThresholdedLocationScores ( self)

Location scores for the results whose score are above eVision.EasyDeepLearning.EDeepOCRToolResult.LocationThreshold.