Skip to content

linemod_Modality_create

rgbdfunctionOpenCV 5.0.0
import { linemod_Modality_create } from '@banou/opencv-wasm'

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

ARGUMENTSmodality_type
FUNCTIONlinemod_Modality_create
RETURN TYPElinemod_Modality | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create modality by name.

The following modality types are supported:

  • "ColorGradient"
  • "DepthNormal"
linemod_Modality_create(modality_type: EmbindString): linemod_Modality | null;
modality_type

modality type argument (EmbindString).

Returns

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