Additional Inherited Members | |
Public Member Functions inherited from ILFontDatabase | |
void | AddOCRChar (ILOCRChar *charData, LString charString) |
void | AddOCRLine (ILOCRLine *lineData, LString lineString) |
void | AddOCRResult (ILOCRResult *resultData, LString resultString) |
int | CountChar () |
ILSampleDatabase * | CreateChar (LString charString) |
ILSampleDatabase * | GetCharDatabase (LString charString) |
void | Init (LString fontName, LString workingDirectory) |
BOOL | IsInMemory () |
Whether this is an in-memory database, whose sample files and all informations are never saved. | |
BOOL | IsTrained () |
LString | ItemChar (int index) |
void | RemoveChar (LString charString) |
LPVErrorCode | Train () |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties inherited from ILFontDatabase | |
BOOL | AutoFeature [get, set] |
Whether to enable automatic feature selection and tuning. By default, it's off. | |
BOOL | AutoModel [get, set] |
Whether to enable automatic model selection and tuning. By default, it's off. | |
LPVOCRFeatures | Features [get, set] |
The features used for recognition. By default, it's LPVOCRFeatureDefault. More... | |
LPVModelType | ModelType [get, set] |
The machine learning model type used for recognition. | |
LString | Name [get] |
The name of the sample database, which is usually unique and as an identification for the database globally. | |
LSize | PixelGrid [get, set] |
The grid size for LPVOCRFeaturePixel feature. By default, it's a @math_eq{6 \times 8} grid. | |
LPVOCRPixelProjection | PixelProjection [get, set] |
The grid projection used for LPVOCRFeaturePixel feature. By default, it's LPVOCRPixelProjNone indicating no projection. | |
LPVOCRPixelValue | PixelValue [get, set] |
The pixel value's calculation method used for LPVOCRFeaturePixel feature. By default, it's LPVOCRPixelGrayscaleNormalized indicating normalized grayscale value. | |
LString | WorkingDir [get] |
The working directory of the font database. For the persisted database, it is used to store the sample files and management information file. For the in-memory database, it is the fix "in-memory" text. | |
This class implements the interface ILFontDatabase, and is used to create an instance of font database.