node-phash
node-phash copied to clipboard
Phash Bindings for Node.js
This is the output: > [email protected] install /usr/local/lib/node_modules/phash > node-gyp rebuild CXX(target) Release/obj.target/pHash/phash.o ../phash.cpp:3:10: fatal error: 'pHash.h' file not found # include
macos 10.15.7 node v8.17.0 npm v6.13.4 ``` 33 warnings generated. CC(target) Release/obj.target/phash/deps/pHash/phcomplex.o LIBTOOL-STATIC Release/phash.a CC(target) Release/obj.target/zlib/deps/zlib/adler32.o CC(target) Release/obj.target/zlib/deps/zlib/compress.o CC(target) Release/obj.target/zlib/deps/zlib/crc32.o CC(target) Release/obj.target/zlib/deps/zlib/deflate.o CC(target) Release/obj.target/zlib/deps/zlib/gzclose.o CC(target) Release/obj.target/zlib/deps/zlib/gzlib.o ../deps/zlib/gzlib.c:256:24: error: implicit declaration...
node-pre-gyp giving me this error.. c:\node_modules\phash>node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\n ode-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch....
Is it possible to input a Stream or a Buffer of image instead of a file path? Thanks!
Maybe use node-pre-gyp for distributing windows packages ? [building for windows is a pita]
I'm trying to install node-phash on CentOS release 6.6: ``` npm install phash ``` The errors I get: ``` > [email protected] install /home/test/node_modules/phash > node-gyp rebuild make: Entering directory `/home/test/node_modules/phash/build'...
I notice sometimes the library emits an error message, like, `premature end of JPEG file`. I think the hash turns out OK, and the image looks fine upon visual inspection,...
I am running a node-resque queue and doing image hashing inside the queue, I get some CImgIOException exceptions which kill my process. I added 'cflags!': [ '-fno-exceptions' ], 'cflags_cc!': [...
I added in 'cflags!': [ '-fno-exceptions' ], 'cflags_cc!': [ '-fno-exceptions' ], to binding.gyp because if I am trying to process images in a queue and I try to hash an...