FastFeatureDetector
import { FastFeatureDetector } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits Feature2D.
Wrapping class for feature detection using the FAST method.
Check tutorial_py_fast "the corresponding tutorial" for more details.
Constructors and members
static create
Create an owned FastFeatureDetector instance with the supplied configuration.
Wrapping class for feature detection using the FAST method.
create(threshold: number, nonmaxSuppression: boolean, type_: number): FastFeatureDetector | null;4 available overloads
create(): FastFeatureDetector | null;create(threshold: number): FastFeatureDetector | null;create(threshold: number, nonmaxSuppression: boolean): FastFeatureDetector | null;create(threshold: number, nonmaxSuppression: boolean, type_: number): FastFeatureDetector | null;thresholdthreshold argument (number).
nonmaxSuppressionnonmax suppression argument (boolean).
type_type argument (number).
The FastFeatureDetector | null 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;The this result.
setThreshold
Set the threshold used by this FastFeatureDetector object.
setThreshold(threshold: number): void;thresholdthreshold argument (number).
getThreshold
Return the threshold configured on this FastFeatureDetector object.
getThreshold(): number;The number result.
setNonmaxSuppression
Set the nonmax suppression used by this FastFeatureDetector object.
setNonmaxSuppression(f: boolean): void;ff argument (boolean).
getNonmaxSuppression
Return the nonmax suppression configured on this FastFeatureDetector object.
getNonmaxSuppression(): boolean;The boolean result.
setType
Set the type used by this FastFeatureDetector object.
setType(type_: number): void;type_type argument (number).
getType
Return the type configured on this FastFeatureDetector object.
getType(): number;The number result.
getDefaultName
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
getDefaultName(): string;The string result.
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.