DISOpticalFlow_create
import { DISOpticalFlow_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSpreset
FUNCTIONDISOpticalFlow_create
RETURN TYPEDISOpticalFlow | null
Creates an instance of DISOpticalFlow
DISOpticalFlow_create(preset: number): DISOpticalFlow | null;2 available overloads
DISOpticalFlow_create(): DISOpticalFlow | null;DISOpticalFlow_create(preset: number): DISOpticalFlow | null;presetone of PRESET_ULTRAFAST, PRESET_FAST and PRESET_MEDIUM
Returns
The DISOpticalFlow | 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.