1

I use the org.openpnp:opencv:4.5.1-2 library to integrate OpenCV with a server backend but somehow I miss the pHash function / implementation.

Did anyone have managed to get the OpenCV pHash version working in Java?

Martin Kersten
  • 5,127
  • 8
  • 46
  • 77
  • The module `img_hash` is part of [contrib](https://github.com/opencv/opencv_contrib/tree/master/modules/img_hash). That package probably wasn't built with any of the contrib stuff (fairly common occurrence). – Dan Mašek Mar 28 '21 at 10:16
  • That explains it. Is there any Java wrapper for this package? – Martin Kersten Mar 29 '21 at 18:40
  • No idea, I rarely use Java. You might just want to build your own binaries with just the modules you need enabled to keep the size reasonable. – Dan Mašek Mar 29 '21 at 18:46

0 Answers0