ImageEn, unit ievision

TIEVisionBlobDetector.setFilterByConvexity

TIEVisionBlobDetector.setFilterByConvexity


Declaration

procedure setFilterByConvexity(enabled: bool32; minConvexity: double; maxConvexity: double); safecall;


Description

Enable or disable the convexity filter.
Convexity is the ratio between the area of the blob and area of the convex hull.

Parameter Description
enabled If True convexity filter is enabled (default: true)
minConvexity Minimum convexity value (default: 0.95)
maxConvexity Maximum convexity value (default: 3.4 x 10^38)