initOpenCV
import { initOpenCV } from '@banou/opencv-wasm'ARGUMENTSoptions
HELPERinitOpenCV
RETURN TYPESee signature below
Initialize the shared OpenCV instance used by named imports such as Mat and GaussianBlur.
export declare const initOpenCV: (options?: OpenCVOptions) => Promise<OpenCV>;optionsWASM asset and logging options. The first successful call configures this instance; later calls reuse it.
Returns
The shared instance, also useful for image helpers and advanced memory access. Concurrent calls share one load; failed loads can be retried.
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.