DriftCapture · interface

FeatureSet

The features of one frame, in the arrays a caller owns.

Explained in DriftCapture.

interface FeatureSet
import type { FeatureSet } from '@driftengine/capture';

Properties

NameTypeDescription
xreadonlyFloat32Array
yreadonlyFloat32Array
responsereadonlyFloat32ArrayShi–Tomasi's smaller eigenvalue: how strong a corner it is.
cosreadonlyFloat32ArrayThe orientation, as a unit vector rather than an angle.
sinreadonlyFloat32Array
countnumber