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.

Properties

 DrawTextBox = property(_DrawTextBox__getter, _DrawTextBox__setter)
 Specifies whether the position, i.e the box enclosing all the lines, should be drawn.
 DrawTextLineBoxes = property(_DrawTextLineBoxes__getter, _DrawTextLineBoxes__setter)
 Specifies whether the lineboxes should be drawn.
 DrawStrings = property(_DrawStrings__getter, _DrawStrings__setter)
 Specifies whether the strings should be drawn.
 DrawDirections = property(_DrawDirections__getter, _DrawDirections__setter)
 Specifies whether arrows that indicate the reading direction should be drawn.
 ArrowLength = property(_ArrowLength__getter, _ArrowLength__setter)
 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

◆ 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 )

Property Documentation

◆ ArrowLength

eVision.EasyDeepOCR.ETextDrawingParameters.ArrowLength = property(_ArrowLength__getter, _ArrowLength__setter)
static

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

eVision.EasyDeepOCR.ETextDrawingParameters.DrawDirections = property(_DrawDirections__getter, _DrawDirections__setter)
static

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

◆ DrawStrings

eVision.EasyDeepOCR.ETextDrawingParameters.DrawStrings = property(_DrawStrings__getter, _DrawStrings__setter)
static

Specifies whether the strings should be drawn.

◆ DrawTextBox

eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextBox = property(_DrawTextBox__getter, _DrawTextBox__setter)
static

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

◆ DrawTextLineBoxes

eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextLineBoxes = property(_DrawTextLineBoxes__getter, _DrawTextLineBoxes__setter)
static

Specifies whether the lineboxes should be drawn.