Using opencv contrib in Java IntelliJ
I am trying to use some of the algorithm API provided by opencv_contrib
in my IntelliJ Java project but I cannot see the module to use.
I installed openCV following this instruction and then setup in my project using this.
I have used homebrew to get opencv using this command : brew install opencv3 --with-contrib --with-java
But in my IntelliJ project I don't see opencv_contrib
anywhere. Where did I go wrong?
there is no opencv_contrib module in opencv3, and it looks like the aruco, bioinspired, structured_light and xfeatures2d modules from the opencv_contrib repo were successfully build and added to your workspace..
what exactly did you expect ?
also, imho, you should kindly close your issue here , since this is clearly not a library bug, but more a usage question.
@berak Yeah I closed. I want to use ximgproc, as I want to use some filters which I needed for rolling guidance algorithms.
ok, good. less work for the devs there.
so, ximgproc is still mising, (which is the actual problem), right ?
we can't help with homebrew (which is also not supported from opencv), but if you have a cmake output, looking at that would be helpful.
did you enable the java wrappers for ximproc in cmakelists.txt ?
@berak Installing through homebrew didn't give me any cmakelists.txt file. Do I have to install openCV again some other way to get this ximgproc working?
you have to use
cmake && make && make install
, please try to follow the receipe here and you have to enable the java wrappers for ximgproc manually before.@berak jar files and .dylib will be present after doing this way?
@berak jar files and .dylib will be present after doing this way which can be used in Java projects?
sorry, neither an apple, nor a java user here, so idk.
@berak can you have a look into this : http://answers.opencv.org/question/16...