Skip to content

TypedGraphKernel

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

Synchronous callback with borrowed matrix/primitive handles. Fill matrices or assign output values.

export type TypedGraphKernel<Inputs extends GraphPorts, Outputs extends GraphPorts> = (inputs: Readonly<GraphValues<Inputs>>, outputs: GraphValues<Outputs>) => 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.