Skip to content

OpenCVOptions

TypeScript helperstypeOpenCV 5.0.0
import type { OpenCVOptions } from '@banou/opencv-wasm'

Loading options; use wasmUrl with bundlers or wasmBinary for an in-memory binary.

export type OpenCVOptions = {
    wasmUrl?: string | URL;
    wasmBinary?: Uint8Array<ArrayBuffer>;
    print?: (text: string) => void;
    printErr?: (text: string) => void;
};

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.