The classifiers to create and add. You can specify in-built classifiers or classifier filename(s)
MergeOverlapping
If you specify multiple classifiers, they may return the same rects, so it is best to merge any overlapping ones
SpeedDivisor
Speeds up processing (at the cost of accuracy) by reducing the size of the analyzed image, specify 1 to analyze the image at current size
Note: ◼You must add the iexHelperFunctions unit to your uses clause ◼You can draw the rects to a canvas using DrawRects ◼You can create your own classifiers using TIEVisionCascadeClassifierTrainer ◼Object finding requires IEVision. You will need to register it before calling the method
Method Behaviour
The following call: rects := ImageEnView1.IEBitmap.FindObjects([ IEVC_FRONTAL_FACE_DEFAULT, IEVC_FRONTAL_FACE_ALT, IEVC_FRONTAL_FACE_ALT_2, IEVC_FRONTAL_FACE_ALT_TREE ], True, 3 );
Is the same as calling: objectsFinder := IEVisionLib.createObjectsFinder(); objectsFinder.addClassifier('face detector 1', IEVisionLib.createCascadeClassifier(IEVC_FRONTAL_FACE_DEFAULT)); objectsFinder.addClassifier('face detector 2', IEVisionLib.createCascadeClassifier(IEVC_FRONTAL_FACE_ALT_TREE)); objectsFinder.addClassifier('face detector 3', IEVisionLib.createCascadeClassifier(IEVC_FRONTAL_FACE_ALT)); objectsFinder.addClassifier('face detector 4', IEVisionLib.createCascadeClassifier(IEVC_FRONTAL_FACE_ALT_2)); objectsFinder.setDivisor( 3 ); objectsFinder.findIn(ImageEnView1.IEBitmap.GetIEVisionImage()); rects := objectsFinder.mergeAllRects(); // merge intersecting rectangles