eVision.ETopology aims to restrict the formats of the texts that will be returned by an eVision.EasyDeepOCR.ETextReader. More...
Public Member Functions | |
| None | __init__ (self) |
| Creates a eVision.ETopology. | |
| None | __init__ (self, list[eVision._eVision.ETopologyLine] lines) |
| Creates a eVision.ETopology. | |
| None | __init__ (self, eVision.ETopology other) |
| Creates a eVision.ETopology. | |
| bool | IsEqual (self, eVision.ETopology other) |
| Checks if this eVision.ETopology instance is strictly equal to another eVision.ETopology instance. | |
| None | Load (self, str path) |
| Loads the eVision.ETopology. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.ETopology. | |
| None | Save (self, str path) |
| Saves the eVision.ETopology. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.ETopology. | |
| bool | Match (self, str text) |
| Returns true if the argument complies with the eVision.ETopology. | |
| bool | Match (self, eVision.EasyDeepOCR.EText text) |
| Returns true if the argument complies with the eVision.ETopology. | |
| bool | Match (self, eVision.EasyDeepOCR.ESample sample) |
| Returns true if the argument complies with the eVision.ETopology. | |
| bool | Match (self, eVision.EasyDeepOCR.ESampleList samples) |
| Returns true if the argument complies with the eVision.ETopology. | |
| list[eVision._eVision.ETopologyLine] | TopologyLines (self) |
| eVision.ETopology lines. | |
| TopologyLines (self, list[eVision._eVision.ETopologyLine] value) | |
| eVision.ETopology lines. | |
eVision.ETopology aims to restrict the formats of the texts that will be returned by an eVision.EasyDeepOCR.ETextReader.
A eVision.ETopology is composed of a list of eVision.ETopologyLine. Each entry in the list refers to the corresponding line in a text. Texts with different number of lines will therefore never be matched by the same eVision.ETopology.
Remarks:
License(s): BasicTypes
| None eVision.ETopology.__init__ | ( | self | ) |
Creates a eVision.ETopology.
| None eVision.ETopology.__init__ | ( | self, | |
| list[eVision._eVision.ETopologyLine] | lines ) |
Creates a eVision.ETopology.
| lines | Lines of the eVision.ETopology. |
| None eVision.ETopology.__init__ | ( | self, | |
| eVision.ETopology | other ) |
Creates a eVision.ETopology.
| other | Another eVision.ETopology to be copied in the new eVision.ETopology. |
| bool eVision.ETopology.IsEqual | ( | self, | |
| eVision.ETopology | other ) |
Checks if this eVision.ETopology instance is strictly equal to another eVision.ETopology instance.
| other | Reference to the eVision.ETopology instance to compare with |
| None eVision.ETopology.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.ETopology.
| serializer | - |
| None eVision.ETopology.Load | ( | self, | |
| str | path ) |
Loads the eVision.ETopology.
| path | Path where to save the eVision.ETopology. |
| bool eVision.ETopology.Match | ( | self, | |
| eVision.EasyDeepOCR.ESample | sample ) |
Returns true if the argument complies with the eVision.ETopology.
| sample | eVision.EasyDeepOCR.ESample to be checked. |
| bool eVision.ETopology.Match | ( | self, | |
| eVision.EasyDeepOCR.ESampleList | samples ) |
Returns true if the argument complies with the eVision.ETopology.
| samples | eVision.EasyDeepOCR.ESampleList to be checked. |
| bool eVision.ETopology.Match | ( | self, | |
| eVision.EasyDeepOCR.EText | text ) |
Returns true if the argument complies with the eVision.ETopology.
| text | eVision.EasyDeepOCR.EText or text string to be checked. |
| bool eVision.ETopology.Match | ( | self, | |
| str | text ) |
Returns true if the argument complies with the eVision.ETopology.
| text | eVision.EasyDeepOCR.EText or text string to be checked. |
| None eVision.ETopology.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.ETopology.
| serializer | - |
| None eVision.ETopology.Save | ( | self, | |
| str | path ) |
Saves the eVision.ETopology.
| path | Path where to save the eVision.ETopology. |
| list[eVision._eVision.ETopologyLine] eVision.ETopology.TopologyLines | ( | self | ) |
eVision.ETopology lines.
| eVision.ETopology.TopologyLines | ( | self, | |
| list[eVision._eVision.ETopologyLine] | value ) |
eVision.ETopology lines.