eVision Python API
Loading...
Searching...
No Matches
eVision.EasyDeepOCR.ETextDrawingParameters Class Reference

Represents the drawing parameters needed by eVision.EasyDeepOCR.ETextLine.Draw and eVision.EasyDeepOCR.EText.Draw. More...

Public Member Functions

None __init__ (self)
 Constructs a eVision.EasyDeepOCR.ETextDrawingParameters.
None __init__ (self, eVision.EasyDeepOCR.ETextDrawingParameters other)
 Constructs a eVision.EasyDeepOCR.ETextDrawingParameters.
None Load (self, str path)
 Loads the eVision.EasyDeepOCR.ETextDrawingParameters.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.EasyDeepOCR.ETextDrawingParameters.
None Save (self, str path)
 Saves the eVision.EasyDeepOCR.ETextDrawingParameters.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.EasyDeepOCR.ETextDrawingParameters.
bool DrawTextBox (self)
 Specifies whether the position, i.e the box enclosing all the lines, should be drawn.
 DrawTextBox (self, bool value)
 Specifies whether the position, i.e the box enclosing all the lines, should be drawn.
bool DrawTextLineBoxes (self)
 Specifies whether the lineboxes should be drawn.
 DrawTextLineBoxes (self, bool value)
 Specifies whether the lineboxes should be drawn.
bool DrawStrings (self)
 Specifies whether the strings should be drawn.
 DrawStrings (self, bool value)
 Specifies whether the strings should be drawn.
bool DrawDirections (self)
 Specifies whether arrows that indicate the reading direction should be drawn.
 DrawDirections (self, bool value)
 Specifies whether arrows that indicate the reading direction should be drawn.
float ArrowLength (self)
 Specifies the length of the arrows when drawing the directions.
 ArrowLength (self, float value)
 Specifies the length of the arrows when drawing the directions.

Detailed Description

Represents the drawing parameters needed by eVision.EasyDeepOCR.ETextLine.Draw and eVision.EasyDeepOCR.EText.Draw.

Remarks:

License(s): EasyDeepOCR

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EasyDeepOCR.ETextDrawingParameters.__init__ ( self)

◆ __init__() [2/2]

None eVision.EasyDeepOCR.ETextDrawingParameters.__init__ ( self,
eVision.EasyDeepOCR.ETextDrawingParameters other )

Member Function Documentation

◆ ArrowLength() [1/2]

float eVision.EasyDeepOCR.ETextDrawingParameters.ArrowLength ( self)

Specifies the length of the arrows when drawing the directions.

Remarks:

When this parameter is null or negative, the height of the line boxes is used instead as the line arrow length.

◆ ArrowLength() [2/2]

eVision.EasyDeepOCR.ETextDrawingParameters.ArrowLength ( self,
float value )

Specifies the length of the arrows when drawing the directions.

Remarks:

When this parameter is null or negative, the height of the line boxes is used instead as the line arrow length.

◆ DrawDirections() [1/2]

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawDirections ( self)

Specifies whether arrows that indicate the reading direction should be drawn.

◆ DrawDirections() [2/2]

eVision.EasyDeepOCR.ETextDrawingParameters.DrawDirections ( self,
bool value )

Specifies whether arrows that indicate the reading direction should be drawn.

◆ DrawStrings() [1/2]

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawStrings ( self)

Specifies whether the strings should be drawn.

◆ DrawStrings() [2/2]

eVision.EasyDeepOCR.ETextDrawingParameters.DrawStrings ( self,
bool value )

Specifies whether the strings should be drawn.

◆ DrawTextBox() [1/2]

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextBox ( self)

Specifies whether the position, i.e the box enclosing all the lines, should be drawn.

◆ DrawTextBox() [2/2]

eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextBox ( self,
bool value )

Specifies whether the position, i.e the box enclosing all the lines, should be drawn.

◆ DrawTextLineBoxes() [1/2]

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextLineBoxes ( self)

Specifies whether the lineboxes should be drawn.

◆ DrawTextLineBoxes() [2/2]

eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextLineBoxes ( self,
bool value )

Specifies whether the lineboxes should be drawn.

◆ Load() [1/2]

None eVision.EasyDeepOCR.ETextDrawingParameters.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.EasyDeepOCR.ETextDrawingParameters.

Parameters
serializer-

◆ Load() [2/2]

None eVision.EasyDeepOCR.ETextDrawingParameters.Load ( self,
str path )

◆ Save() [1/2]

None eVision.EasyDeepOCR.ETextDrawingParameters.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.EasyDeepOCR.ETextDrawingParameters.

Parameters
serializer-

◆ Save() [2/2]

None eVision.EasyDeepOCR.ETextDrawingParameters.Save ( self,
str path )