img_hash_marrHildrethHash
import { img_hash_marrHildrethHash } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSinputArr, outputArr, alpha, scale
FUNCTIONimg_hash_marrHildrethHash
RETURN TYPEvoid
Computes average hash value of the input image
img_hash_marrHildrethHash(inputArr: Mat, outputArr: Mat, alpha: number, scale: number): void;3 available overloads
img_hash_marrHildrethHash(inputArr: Mat, outputArr: Mat): void;img_hash_marrHildrethHash(inputArr: Mat, outputArr: Mat, alpha: number): void;img_hash_marrHildrethHash(inputArr: Mat, outputArr: Mat, alpha: number, scale: number): void;inputArrinput image want to compute hash value, type should be CV_8UC4, CV_8UC3, CV_8UC1.
outputArrOutput destination, filled by the native operation. Hash value of input, it will contain 16 hex decimal number, return type is CV_8U
alphaint scale factor for marr wavelet (default=2).
scaleint level of scale factor (default = 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.