ImageEn, unit ievision

TIEVisionObjectsFinder.addClassifier

TIEVisionObjectsFinder.addClassifier


Declaration

procedure addClassifier(name: PAnsiChar; classifier: TIEVisionBase); safecall;


Description

Adds a new classifier (object detector) to the classifiers set.

Parameter Description
name Name of the classifier. This name is used only for the user convenience.
classifier Actual object detector.


Example

// load two face detectors
objectsFinder := IEVisionLib.createObjectsFinder();
objectsFinder.addClassifier('face detector 1', IEVisionLib.createCascadeClassifier(IEVC_FRONTAL_FACE_ALT_TREE);
objectsFinder.addClassifier('face detector 2', IEVisionLib.createCascadeClassifier(IEVC_FRONTAL_FACE_DEFAULT));


See Also

- createCascadeClassifier
- removeClassifier
- IEVision Embedded Classifiers