eVision Python API
Loading...
Searching...
No Matches
eVision.ETopologyLine Class Reference

eVision.ETopologyLine aims to restrict the formats of the textlines that will be returned by an eVision.EasyDeepOCR.ETextReader. More...

Public Member Functions

None __init__ (self)
 Creates a eVision.ETopologyLine.
None __init__ (self, eVision.ETopologyLine other)
 Creates a eVision.ETopologyLine.
None __init__ (self, str format, eVision.ETopologyFormatType type)
 Creates a eVision.ETopologyLine.
None __init__ (self, str format)
 Creates a eVision.ETopologyLine.
bool IsEqual (self, eVision.ETopologyLine other)
 Checks if this eVision.ETopologyLine instance is strictly equal to another eVision.ETopologyLine instance.
None Load (self, str path)
 Loads the eVision.ETopologyLine.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.ETopologyLine.
None Save (self, str path)
 Saves the eVision.ETopologyLine.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.ETopologyLine.
None SetFormat (self, str format, eVision.ETopologyFormatType type)
 Sets the format.
None SetFormat (self, str format)
 Sets the format.
bool Match (self, str textLine)
 Returns true if the argument complies with the topology.
bool Match (self, eVision.EasyDeepOCR.ETextLine textLine)
 Returns true if the argument complies with the topology.
str Format (self)
 Returns the format.
eVision.ETopologyFormatType FormatType (self)
 Returns the format type.

Detailed Description

eVision.ETopologyLine aims to restrict the formats of the textlines that will be returned by an eVision.EasyDeepOCR.ETextReader.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/4]

None eVision.ETopologyLine.__init__ ( self)

◆ __init__() [2/4]

None eVision.ETopologyLine.__init__ ( self,
eVision.ETopologyLine other )

Creates a eVision.ETopologyLine.

Parameters
otherAnother eVision.ETopologyLine to be copied in the new eVision.ETopologyLine.

◆ __init__() [3/4]

None eVision.ETopologyLine.__init__ ( self,
str format,
eVision.ETopologyFormatType type )

Creates a eVision.ETopologyLine.

Parameters
formatFormat to be set.
typeType of the format to be set.

◆ __init__() [4/4]

None eVision.ETopologyLine.__init__ ( self,
str format )

Creates a eVision.ETopologyLine.

Parameters
formatFormat to be set.

Member Function Documentation

◆ Format()

str eVision.ETopologyLine.Format ( self)

Returns the format.

◆ FormatType()

eVision.ETopologyFormatType eVision.ETopologyLine.FormatType ( self)

Returns the format type.

◆ IsEqual()

bool eVision.ETopologyLine.IsEqual ( self,
eVision.ETopologyLine other )

Checks if this eVision.ETopologyLine instance is strictly equal to another eVision.ETopologyLine instance.

Parameters
otherReference to the eVision.ETopologyLine instance to compare with

◆ Load() [1/2]

None eVision.ETopologyLine.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.ETopologyLine.

Parameters
serializer-

◆ Load() [2/2]

None eVision.ETopologyLine.Load ( self,
str path )

Loads the eVision.ETopologyLine.

Parameters
pathPath where to save the eVision.ETopologyLine.

◆ Match() [1/2]

bool eVision.ETopologyLine.Match ( self,
eVision.EasyDeepOCR.ETextLine textLine )

Returns true if the argument complies with the topology.

Parameters
textLineeVision.EasyDeepOCR.ETextLine or text string to be checked.

◆ Match() [2/2]

bool eVision.ETopologyLine.Match ( self,
str textLine )

Returns true if the argument complies with the topology.

Parameters
textLineeVision.EasyDeepOCR.ETextLine or text string to be checked.

◆ Save() [1/2]

None eVision.ETopologyLine.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.ETopologyLine.

Parameters
serializer-

◆ Save() [2/2]

None eVision.ETopologyLine.Save ( self,
str path )

Saves the eVision.ETopologyLine.

Parameters
pathPath where to save the eVision.ETopologyLine.

◆ SetFormat() [1/2]

None eVision.ETopologyLine.SetFormat ( self,
str format )

Sets the format.

Parameters
formatFormat to be set.

◆ SetFormat() [2/2]

None eVision.ETopologyLine.SetFormat ( self,
str format,
eVision.ETopologyFormatType type )

Sets the format.

Parameters
formatFormat to be set.
typeType of the format to be set.