phash

Bindings for node.js to pHash

node-phash

pHash bindings for node.js.

Current version supports only image hashing. (no video & audio hashing)

Install CImg, pHash, ImageMagicK packages first.

$ npm install phash
var pHash = require("phash");
 
console.log(pHash.getImageHash("a.jpg"));
console.log(pHash.getImageHash("b.png"));