Holds all information related to a character database. More...


Public Member Functions | |
| EOCR2CharacterDatabase () | |
| Constructs an EOCR2CharacterDatabase context. | |
| EOCR2CharacterDatabase (eVision.EOCR2CharacterDatabase other) | |
| Constructs an EOCR2CharacterDatabase context. | |
| void | AddCharacter (eVision.EOCR2DatabaseCharacter character) |
| Adds a single character to the database. | |
| void | AddCharacter (eVision.EOCR2Char character) |
| Adds a single character to the database. | |
| void | AddCharacters (eVision.EOCR2DatabaseCharacter[] characters) |
| Add characters to the database. | |
| void | AddCharacters (string path) |
| Add characters to the database. | |
| void | AddCharacters (string path, eVision.EasyOCR2CharacterFilter filter) |
| Add characters to the database. | |
| void | AddCharacters (eVision.EOCR2Word word) |
| Add characters to the database. | |
| void | AddCharacters (eVision.EOCR2Line line) |
| Add characters to the database. | |
| void | AddCharacters (eVision.EOCR2Text text) |
| Add characters to the database. | |
| void | RemoveCharacter (int index) |
| Removes a character from the database. | |
| eVision.EOCR2DatabaseCharacter | GetCharacter (int index) |
| Returns a character from the database. | |
| eVision.EOCR2CharacterCluster[] | ClusterDatabase (int nClusters) |
| Performs a clustering on the database. | |
| void | AddCluster (eVision.EOCR2CharacterCluster cluster) |
| Adds the characters from an EOCR2CharacterCluster to the database. | |
| void | AddClusters (eVision.EOCR2CharacterCluster[] clusters) |
| Adds the characters from a vector of EOCR2CharacterCluster objects to the database. | |
| void | ClearDatabase () |
| Clears the database. | |
| void | Load (string path) |
| Load the character database from disk. | |
| void | Load (eVision.ESerializer serializer) |
| Load the character database from disk. | |
| void | Save (string path) |
| Saves the character database to disk. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the character database to disk. | |
Properties | |
| eVision.EOCR2DatabaseCharacter[] | Characters [get] |
| Returns all character from the database. | |
Holds all information related to a character database.
License(s): None
| eVision.EOCR2CharacterDatabase.EOCR2CharacterDatabase | ( | ) |
Constructs an EOCR2CharacterDatabase context.
| eVision.EOCR2CharacterDatabase.EOCR2CharacterDatabase | ( | eVision.EOCR2CharacterDatabase | other | ) |
Constructs an EOCR2CharacterDatabase context.
| other | EOCR2CharacterDatabase object to be copied. |
| void eVision.EOCR2CharacterDatabase.AddCharacter | ( | eVision.EOCR2Char | character | ) |
Adds a single character to the database.
| character | The EOCR2DatabaseCharacter or EOCR2Char to be added to the database. |
| void eVision.EOCR2CharacterDatabase.AddCharacter | ( | eVision.EOCR2DatabaseCharacter | character | ) |
Adds a single character to the database.
| character | The EOCR2DatabaseCharacter or EOCR2Char to be added to the database. |
| void eVision.EOCR2CharacterDatabase.AddCharacters | ( | eVision.EOCR2DatabaseCharacter[] | characters | ) |
Add characters to the database.
| characters | A vector of EOCR2DatabaseCharacter objects to be added to this database. |
| void eVision.EOCR2CharacterDatabase.AddCharacters | ( | eVision.EOCR2Line | line | ) |
Add characters to the database.
| line | An EOCR2Line object to be added to this database. |
| void eVision.EOCR2CharacterDatabase.AddCharacters | ( | eVision.EOCR2Text | text | ) |
Add characters to the database.
| text | An EOCR2Text object to be added to this database. |
| void eVision.EOCR2CharacterDatabase.AddCharacters | ( | eVision.EOCR2Word | word | ) |
Add characters to the database.
| word | An EOCR2Word object to be added to this database. |
| void eVision.EOCR2CharacterDatabase.AddCharacters | ( | string | path | ) |
Add characters to the database.
| path | The path on disk of the character database to be added to this database. |
| void eVision.EOCR2CharacterDatabase.AddCharacters | ( | string | path, |
| eVision.EasyOCR2CharacterFilter | filter ) |
Add characters to the database.
| path | The path on disk of the character database to be added to this database. |
| filter | An EasyOCR2CharacterFilter that tells the method which subset of the character-set should be loaded. |
| void eVision.EOCR2CharacterDatabase.AddCluster | ( | eVision.EOCR2CharacterCluster | cluster | ) |
Adds the characters from an EOCR2CharacterCluster to the database.
| cluster | The EOCR2CharacterCluster to be added to the database. |
The characters in the cluster should be checked and assigned their correct code before adding them to the database
| void eVision.EOCR2CharacterDatabase.AddClusters | ( | eVision.EOCR2CharacterCluster[] | clusters | ) |
Adds the characters from a vector of EOCR2CharacterCluster objects to the database.
| clusters | The vector of EOCR2CharacterCluster objects to be added to the database. |
The characters in the clusters should be checked and assigned their correct code before adding them to the database
| void eVision.EOCR2CharacterDatabase.ClearDatabase | ( | ) |
Clears the database.
| eVision.EOCR2CharacterCluster[] eVision.EOCR2CharacterDatabase.ClusterDatabase | ( | int | nClusters | ) |
Performs a clustering on the database.
| nClusters | The amount of clusters to be generated. |
| eVision.EOCR2DatabaseCharacter eVision.EOCR2CharacterDatabase.GetCharacter | ( | int | index | ) |
Returns a character from the database.
| index | The index of the character to be returned. |
| void eVision.EOCR2CharacterDatabase.Load | ( | eVision.ESerializer | serializer | ) |
Load the character database from disk.
| serializer | The serializer. |
| void eVision.EOCR2CharacterDatabase.Load | ( | string | path | ) |
Load the character database from disk.
| path | The path of the file. |
| void eVision.EOCR2CharacterDatabase.RemoveCharacter | ( | int | index | ) |
Removes a character from the database.
| index | The index of the character to be removed. |
| void eVision.EOCR2CharacterDatabase.Save | ( | eVision.ESerializer | serializer | ) |
Saves the character database to disk.
| serializer | The serializer. |
| void eVision.EOCR2CharacterDatabase.Save | ( | string | path | ) |
Saves the character database to disk.
| path | The path of the file. |
|
get |
Returns all character from the database.