Note: ◼You must add the iexHelperFunctions unit to your uses clause ◼You can draw the rects to a canvas using DrawRects ◼Blob detection requires IEVision. You will need to register it before calling the method
Method Behaviour
The following call: rects := ImageEnView1.IEBitmap.DetectBlobs( 50, 220, 10, 150 );
Is the same as calling: blobDetector := IEVisionLib().createBlobDetector(); blobDetector.setThreshold( 50, 220, 10 ); blobDetector.setMinDistBetweenBlobs( 150 ); blobDetector.setFilterByInertia( False, 0.8, 3.4e+38 ); blobDetector.setFilterByConvexity( False, 0.95, 3.4e+38 ); keyPoints := blobDetector.detect( ImageEnView1.IEBitmap.GetIEVisionImage() );