Skip to content

useOptimized

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

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

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

Returns the status of optimized code usage.

The function returns true if the optimized code is enabled. Otherwise, it returns false.

useOptimized(): boolean;
Returns

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