img_hash_colorMomentHash
import { img_hash_colorMomentHash } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSinputArr, outputArr
FUNCTIONimg_hash_colorMomentHash
RETURN TYPEvoid
Computes color moment hash of the input, the algorithm is come from the paper "Perceptual Hashing for Color Images Using Invariant Moments"
img_hash_colorMomentHash(inputArr: Mat, outputArr: Mat): void;inputArrinput image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1.
outputArrOutput destination, filled by the native operation. 42 hash values with type CV_64F(double)
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.