Ask Your Question

qbonnard's profile - activity

2014-10-20 12:53:48 -0600 received badge  Teacher (source)
2014-06-08 23:29:33 -0600 received badge  Self-Learner (source)
2014-06-01 10:23:15 -0600 answered a question Where to copy opencv-249.jar & libopencv_java249.so

The jar file is needed in the class path of your java project. If you're using an IDE, your project probably has a lib or libs folder where it would fit. Alternatively, your IDE probably has an "add library" menu entry somewhere, when you right click your project.

The .so file, along with the others, needs to be loaded at runtime. The standard path for that is something like /usr/lib and friends, where the system looks for dynamic libraries by default. Alternatively (and it would probably be cleaner), you can tell your IDE to run your application with the -Djava.library.path=/home/you/whereveryouhavethesofiles option passed to the Java VM.

Hope that helps...

2014-06-01 10:15:12 -0600 answered a question How do I use OpenCV's test framework with CMake?

After some research and tests, I answered my own question in my blog : Using OpenCV's test framework (with CMake)

Again, I'm no CMake expert, so comments are welcome!

2014-05-29 02:38:24 -0600 received badge  Student (source)
2014-05-28 11:19:31 -0600 received badge  Supporter (source)
2014-05-28 05:09:43 -0600 commented question How do I use OpenCV's test framework with CMake?

I also posted the answer on StackOverflow, but I can not duplicate it here yet, as I am a new user who needs to wait two days before answering my own question.

2014-05-28 05:07:49 -0600 commented question How do I use OpenCV's test framework with CMake?

Note: this is a duplicate of the question I asked on StackOverflow, as @IsaacS suggested it would be nice to have OpenCV related questions here too. I hope this is not bad practice.

2014-05-28 05:06:49 -0600 asked a question How do I use OpenCV's test framework with CMake?

It seems like OpenCV has a test framework based on GTest. They use it for their own unit tests, but I can not find documentation, examples or tutorials on how to use it outside of OpenCV.

It would be a perfect fit for the tests I intend to implement on our OpenCV-based library, but I do not really know where to start, as I am not really an expert in CMake (which builds our library).

I would very much appreciate help on the setup of some kind of "Hello ts World", i.e. how to configure the main CMakeList.txt and the one in the test directory in order to run tests like the ones found in the modules's test subdirectoriess (e.g. core's test folder)