PerceptualHash
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.
fileHash :: FilePath -> IO (Either String Word64) Source #
hammingDistance :: Bits a => a -> a -> Int Source #
See wiki.
Since: 0.1.4.0