SparsePyrLKOpticalFlow_create
import { SparsePyrLKOpticalFlow_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSwinSize, maxLevel, crit, flags
FUNCTIONSparsePyrLKOpticalFlow_create
RETURN TYPESparsePyrLKOpticalFlow | null
Create an owned SparsePyrLKOpticalFlow instance with the supplied configuration.
Class used for calculating a sparse optical flow.
SparsePyrLKOpticalFlow_create(winSize: Size, maxLevel: number, crit: TermCriteria, flags: number, minEigThreshold: number): SparsePyrLKOpticalFlow | null;6 available overloads
SparsePyrLKOpticalFlow_create(): SparsePyrLKOpticalFlow | null;SparsePyrLKOpticalFlow_create(winSize: Size): SparsePyrLKOpticalFlow | null;SparsePyrLKOpticalFlow_create(winSize: Size, maxLevel: number): SparsePyrLKOpticalFlow | null;SparsePyrLKOpticalFlow_create(winSize: Size, maxLevel: number, crit: TermCriteria): SparsePyrLKOpticalFlow | null;SparsePyrLKOpticalFlow_create(winSize: Size, maxLevel: number, crit: TermCriteria, flags: number): SparsePyrLKOpticalFlow | null;SparsePyrLKOpticalFlow_create(winSize: Size, maxLevel: number, crit: TermCriteria, flags: number, minEigThreshold: number): SparsePyrLKOpticalFlow | null;winSizewin size argument (Size).
maxLevelmax level argument (number).
critcrit argument (TermCriteria).
flagsflags argument (number).
minEigThresholdmin eig threshold argument (number).
Returns
The SparsePyrLKOpticalFlow | null 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.