Skip to content

SimpleBlobDetector_Params

Features and matchingclassOpenCV 5.0.0
import { SimpleBlobDetector_Params } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSSimpleBlobDetector_Params
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

simple blob detector params value in the OpenCV API.

Constructors and members

static new

Create an owned SimpleBlobDetector_Params object. Release native handles with using or delete().

new(): SimpleBlobDetector_Params;
Returns

The SimpleBlobDetector_Params result.

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

thresholdStep

threshold step value for SimpleBlobDetector_Params.

thresholdStep: number;

minThreshold

min threshold value for SimpleBlobDetector_Params.

minThreshold: number;

maxThreshold

max threshold value for SimpleBlobDetector_Params.

maxThreshold: number;

minRepeatability

min repeatability value for SimpleBlobDetector_Params.

minRepeatability: number;

minDistBetweenBlobs

min dist between blobs value for SimpleBlobDetector_Params.

minDistBetweenBlobs: number;

filterByColor

filter by color value for SimpleBlobDetector_Params.

filterByColor: boolean;

blobColor

blob color value for SimpleBlobDetector_Params.

blobColor: number;

filterByArea

filter by area value for SimpleBlobDetector_Params.

filterByArea: boolean;

minArea

min area value for SimpleBlobDetector_Params.

minArea: number;

maxArea

max area value for SimpleBlobDetector_Params.

maxArea: number;

filterByCircularity

filter by circularity value for SimpleBlobDetector_Params.

filterByCircularity: boolean;

minCircularity

min circularity value for SimpleBlobDetector_Params.

minCircularity: number;

maxCircularity

max circularity value for SimpleBlobDetector_Params.

maxCircularity: number;

filterByInertia

filter by inertia value for SimpleBlobDetector_Params.

filterByInertia: boolean;

minInertiaRatio

min inertia ratio value for SimpleBlobDetector_Params.

minInertiaRatio: number;

maxInertiaRatio

max inertia ratio value for SimpleBlobDetector_Params.

maxInertiaRatio: number;

filterByConvexity

filter by convexity value for SimpleBlobDetector_Params.

filterByConvexity: boolean;

minConvexity

min convexity value for SimpleBlobDetector_Params.

minConvexity: number;

maxConvexity

Flag to enable contour collection.

maxConvexity: number;

collectContours

Flag to enable contour collection. If set to true, the detector will store the contours of the detected blobs in memory, which can be retrieved after the detect() call using getBlobContours().

Note: Default value is false.

collectContours: boolean;

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.