OpenCV Development Enviroment

asked 2018-12-05 04:46:58 -0600

peter_cz gravatar image

I am looking for an advice how to effectivelly develop within OpenCV. How to setup development envirmonet to develop, debug, and build OpenCV itself.
So I am able to modify OpenCV code, debug it and rebuild original opencv libs. Do you use or recommend some IDE for it?

edit retag flag offensive close merge delete

Comments

My setup on Ubuntu:

  • QtCreator (support CMake, hold ctrl key + left click on a class / function --> you will go directly to the definition, ...)
  • gdb to debug
  • valgrind for memory leak

My setup on Windows:

  • Visual Studio Community
Eduardo gravatar imageEduardo ( 2018-12-05 06:26:52 -0600 )edit

I agree QtCreator and Visual Studio as IDE of choice for C++ development. They have automatic code completion and integrated debugger.

It is also quite simple to transform a cv::Mat into QImage and back, so you can integrate easily your results into a Qt based GUI.

For Python development I don't have ideas, but I'm sure that any good IDE will do it.

kbarni gravatar imagekbarni ( 2018-12-05 07:26:04 -0600 )edit

how about Eclipse?

peter_cz gravatar imagepeter_cz ( 2018-12-05 13:48:27 -0600 )edit