EOCR2::GetTopology

EOCR2::SetTopology

Sets the topology of the text that should be found in the image. A modified version of Regex expressions are used, where:
.(dot) represents any character (not including a space).
L represents a letter.
Lu represents an uppercase letter.
Ll represents a lowercase letter.
N represents a digit.
P represents a punctuation character !"#&'()*,-./:;<>?[\]_{|}~
S represents the symbols $+-<=>|~
\n represents a line break.
' ' (space) represents a space between two words.
Combinations can be made, for example: [LN] represents an alpha-numeric character.
To specify multiple characters, simply add {n} at the end for n characters. If the amount of characters is uncertain, specify {n,m} for a minimum of n characters and a maximum of m characters.
The topology "[LuN]{3,5}PN{4} \n .{5} LL" represents a text comprised of 2 lines:
The first line has 1 word composed of 3 to 5 uppercase alpha-numeric characters, followed by a punctuation character and 4 numbers.
The second line has 2 words. The first word comprises of 5 wildcard characters, the second word has 2 alphabetic characters (upper- or lowercase).

Namespace: Euresys::Open_eVision_2_11

[C++]

std::string GetTopology()

void SetTopology(const std::string& topology)

EOCR2.Topology

Sets the topology of the text that should be found in the image. A modified version of Regex expressions are used, where:
.(dot) represents any character (not including a space).
L represents a letter.
Lu represents an uppercase letter.
Ll represents a lowercase letter.
N represents a digit.
P represents a punctuation character !"#&'()*,-./:;<>?[\]_{|}~
S represents the symbols $+-<=>|~
\n represents a line break.
' ' (space) represents a space between two words.
Combinations can be made, for example: [LN] represents an alpha-numeric character.
To specify multiple characters, simply add {n} at the end for n characters. If the amount of characters is uncertain, specify {n,m} for a minimum of n characters and a maximum of m characters.
The topology "[LuN]{3,5}PN{4} \n .{5} LL" represents a text comprised of 2 lines:
The first line has 1 word composed of 3 to 5 uppercase alpha-numeric characters, followed by a punctuation character and 4 numbers.
The second line has 2 words. The first word comprises of 5 wildcard characters, the second word has 2 alphabetic characters (upper- or lowercase).

Namespace: Euresys.Open_eVision_2_11

[C#]

string Topology

{ get; set; }