Skip to content

DNNLayerFactory

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

Creates a layer implementation. Clone borrowed matrices when keeping them beyond a callback.

export type DNNLayerFactory = (parameters: DNNLayerParameters) => DNNLayerImplementation

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.