TIEVisionBlobDetector.setFilterByCircularity
Declaration
procedure setFilterByCircularity(enabled: bool32; minCircularity: double; maxCircularity: double); safecall;
Description
Enable or disable the circularity filter.
Circularity is defined as 4 * PI * Area / SQR(Perimeter). Circularity for a circle is 1, for a square is 0.785.
Parameter | Description |
enabled | If True circularity filter is enabled (default: false) |
minCircularity | Minimum circularity value (default: 0.8) |
maxCircularity | Maximum circularity value (default: 3.4 x 10^38) |