linemod_Modality_create1
import { linemod_Modality_create1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSmodality_type
FUNCTIONlinemod_Modality_create1
RETURN TYPElinemod_Modality | null
Create modality by name.
The following modality types are supported:
- "ColorGradient"
- "DepthNormal"
linemod_Modality_create1(modality_type: FileNode): linemod_Modality | null;modality_typemodality type argument (FileNode).
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.