linemod_Modality_create
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
Create modality by name.
The following modality types are supported:
- "ColorGradient"
- "DepthNormal"
linemod_Modality_create(modality_type: EmbindString): linemod_Modality | null;modality_typemodality 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.