Skip to content

img_hash_BlockMeanHash_create

img_hashfunctionOpenCV 5.0.0
import { img_hash_BlockMeanHash_create } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSmode
FUNCTIONimg_hash_BlockMeanHash_create
RETURN TYPEimg_hash_BlockMeanHash | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an owned img_hash_BlockMeanHash instance with the supplied configuration.

Image hash based on block mean.

img_hash_BlockMeanHash_create(mode: number): img_hash_BlockMeanHash | null;
2 available overloads
img_hash_BlockMeanHash_create(): img_hash_BlockMeanHash | null;
img_hash_BlockMeanHash_create(mode: number): img_hash_BlockMeanHash | null;
mode

mode argument (number).

Returns

The img_hash_BlockMeanHash | null result.

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.