-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Find duplicate images
--
-- Find similar images using perceptual hashes
@package perceptual-hash
@version 0.1.4.6
module ForeignHash
-- | Doesn't work with .gif files
--
-- This will throw an exception on failure.
foreignFileHash :: FilePath -> IO Word64
module PerceptualHash
-- | DCT based hash. See Zauner.
--
-- It is suggested that you use this with the Repa backend.
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
fileHash :: FilePath -> IO (Either String Word64)
-- | See wiki.
hammingDistance :: Bits a => a -> a -> Int