Skip to content

DNNLayerParameters

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

Custom DNN layer initialization. Blob handles are borrowed until the factory returns.

export type DNNLayerParameters = {
  name: string,
  type: string,
  params: Readonly<Record<string, number | bigint | string | readonly (number | bigint | string)[]>>,
  blobs: readonly Mat[],
}

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.