Skip to content

GraphKernelFunction

Core and matricestypeOpenCV 5.0.0
import type { GraphKernelFunction } from '@banou/opencv-wasm'

Synchronous CPU kernel. Matrices are borrowed; write into preallocated outputs without resizing them.

export type GraphKernelFunction = (inputs: readonly Mat[], outputs: readonly Mat[]) => undefined

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.