perceptual-hash-0.1.4.7: Find duplicate images
Safe HaskellSafe-Inferred
LanguageHaskell2010

PerceptualHash

Synopsis

Documentation

imgHash :: (Ord e, Floating e, Array arr Y e, Array arr X e, Vector (Vector arr) Bool, Vector (Vector arr) e) => Image arr Y e -> Word64 Source #

DCT based hash. See Zauner.

It is suggested that you use this with the Repa backend.

hammingDistance :: Bits a => a -> a -> Int Source #

See wiki.

Since: 0.1.4.0