Additional Inherited Members | |
![]() | |
void | AddClass (LString classLabel, ILSampleDatabase *sampleDB) |
int | AddFeature (ILFeature *feature) |
int | AddModel (ILModel *model) |
int | CountFeature () |
int | CountModel () |
void | CreateClass (LString classLabel, LString sampleDBDir) |
ILSampleDatabase * | GetClassSampleDb (LString classLabel) |
ILFeature * | GetFeature (int idx) |
ILModel * | GetModel (int idx) |
BOOL | IsTrained () |
LPVErrorCode | Predict (ILImage *img, ILRegion *predictRegion, LString *classLabel, double *confidence) |
void | RemoveAllClass (BOOL deleteSampleDb) |
void | RemoveAllFeatures () |
void | RemoveAllModels () |
void | RemoveClass (LString classLabel, BOOL deleteSampleDb) |
void | RemoveFeature (int idx) |
void | RemoveModel (int idx) |
LPVErrorCode | Train () |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
![]() | |
int | PrimaryModelIndex [get, set] |
The index of the primary model which is used for prediction. By default, we use the first model. | |
LString | WorkingDir [get, set] |
The working directory, used as the default root path for the database of the created class labels. | |
This class implements the interface ILClassifier, and is used to create an instance of machine learning based image classification tool.