Popularity
6.6
Declining
Activity
0.0
Stable
11
5
5

Monthly Downloads: 18
Programming language: Haskell
License: GNU General Public License v3.0 only
Tags: Data    
Latest version: v0.0.5

phash alternatives and similar packages

Based on the "Data" category.
Alternatively, view phash alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of phash or a related project?

Add another 'Data' Package

README

phash: Haskell bindings to pHash, the open source perceptual hash library

Build Status

PHash is a library for generating perceptual hashes of media files. These bindings currently only support images. You can compare these hashes to detect visually similar images.

Installation Notes

Note that this library does not come bundled with the source code for pHash. You must install that yourself. Your package manager may have it available as libphash. If that is not available, you can install it from source from http://phash.org.

Usage

import Data.PHash

main = do
  Just h1 <- imageHash "somefile.jpg"
  print h1
  print =<< imagesSimilar "somefile.jpg" "similarfile.jpg" reasonableThreshold
  where reasonableThreshold = 15

Credit

All credit goes to the original pHash authors. For more information about pHash visit http://phash.org

Contributors