Skip to content

optflow_createOptFlow_SparseToDense

optflowfunctionOpenCV 5.0.0
import { optflow_createOptFlow_SparseToDense } from '@banou/opencv-wasm'

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

ARGUMENTSSee signature below
FUNCTIONoptflow_createOptFlow_SparseToDense
RETURN TYPEDenseOpticalFlow | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense()

optflow_createOptFlow_SparseToDense(): DenseOpticalFlow | null;
Returns

The DenseOpticalFlow | 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.