justadudewhohacks / opencv4nodejs

Nodejs bindings to OpenCV 3 and OpenCV 4
MIT License
4.95k stars 824 forks source link

How to use PHash #680

Open crazygo opened 4 years ago

crazygo commented 4 years ago

I can't find cv.img_hash prototype, how to use that api? https://docs.opencv.org/4.1.2/d4/d93/group__img__hash.html

OpenCV version (example 3.4.1): 4.1.2

With OpenCV-contrib? (extra modules): yes (/usr/local/Cellar/opencv/4.1.2/include/opencv4/opencv2/img_hash/phash.hpp)

OS: MacOSX

jslok commented 4 years ago

Also wondering the same. Were you able to figure it out @crazygo? Or are the bindings not implemented for phash?

kingcc commented 3 years ago

no progress on this issue?