debugging opencv python eclipse

asked 2016-04-14 12:50:11 -0600

infoclogged gravatar image

I have installed cv2 via pip install cv2 for python2.7. I ran the example programs, for example capturing a video from the webcam etc. and it works fine. As far as I know, one needs the C++ libraries to run the opencv code i.e the python functions call the c++ functions via the python wrapper. I can use the video capability ( editing, displaying, saving etc ) from my python functions.

I saw that there is a file called cv2.so in the dist-packages which is around 1.4 MB big. Further, the cv2.so uses many other libraries which I could trace using ldd. They all point to some or the other library.

Can anyone tell me how can I debug my python source code i.e also display the underlying C++ library code during single stepping?

edit retag flag offensive close merge delete