Skip to content

img_hash_BlockMeanHashMode

img_hashclassOpenCV 5.0.0
import { img_hash_BlockMeanHashMode } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSimg_hash_BlockMeanHashMode
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Native enum entries for img hash block mean hash mode. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static BLOCK_MEAN_HASH_MODE_0

use fewer block and generate 16*16/8 uchar hash value

BLOCK_MEAN_HASH_MODE_0: img_hash_BlockMeanHashModeValue<0>,

static BLOCK_MEAN_HASH_MODE_1

use block blocks(step sizes/2), generate 31*31/8 + 1 uchar hash value

BLOCK_MEAN_HASH_MODE_1: img_hash_BlockMeanHashModeValue<1>

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.