dnn_blobFromImagesWithParams1
import { dnn_blobFromImagesWithParams1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSimages, blob, param
FUNCTIONdnn_blobFromImagesWithParams1
RETURN TYPEvoid
Creates 4-dimensional blob from series of images with given params.
This function is an extension of blobFromImages to meet more image preprocess needs.
Given input image and preprocessing parameters, and function outputs the blob.
dnn_blobFromImagesWithParams1(images: MatVector, blob: Mat, param: dnn_Image2BlobParams): void;2 available overloads
dnn_blobFromImagesWithParams1(images: MatVector, blob: Mat): void;dnn_blobFromImagesWithParams1(images: MatVector, blob: Mat, param: dnn_Image2BlobParams): void;imagesinput image (all with 1-, 3- or 4-channels).
blobOutput destination, filled by the native operation. blob argument (Mat).
paramstruct of Image2BlobParams, contains all parameters needed by processing of image to blob.
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.