Skip to content

getHardwareFeatureName

Core and matricesfunctionOpenCV 5.0.0
import { getHardwareFeatureName } from '@banou/opencv-wasm'

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

ARGUMENTSfeature
FUNCTIONgetHardwareFeatureName
RETURN TYPEstring
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Returns feature name by ID

Returns empty string if feature is not defined

getHardwareFeatureName(feature: number): string;
feature

feature argument (number).

Returns

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