Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Constantly cv::Exception from cvtcolor() when running code with GDB

Hey,

I'm running opencv 2.4.9 on ubuntu 13.10.
The code (c++) which calls the opencv functions is in a different thread.
After compiling the code, if I start it from console it works and everything is fine.
If I try to start the code with GDB I always get the following exception:

gdb

alt text

I tried to compile opencv with DEBUG flag and it didn't help.

Does anyone know anything about it?
Please tell if you need further information.

click to hide/show revision 2
retagged

updated 2014-06-25 14:31:32 -0600

berak gravatar image

Constantly cv::Exception from cvtcolor() when running code with GDB

Hey,

I'm running opencv 2.4.9 on ubuntu 13.10.
The code (c++) which calls the opencv functions is in a different thread.
After compiling the code, if I start it from console it works and everything is fine.
If I try to start the code with GDB I always get the following exception:

gdb

alt text

I tried to compile opencv with DEBUG flag and it didn't help.

Does anyone know anything about it?
Please tell if you need further information.

Constantly cv::Exception from cvtcolor() when running code with GDB

Hey,

I'm running opencv 2.4.9 on ubuntu 13.10.
The code (c++) which calls the opencv functions is in a different thread.
After compiling the code, if I start it from console it works and everything is fine.
If I try to start the code with GDB I always get the following exception:

gdb

alt text

I tried to compile opencv with DEBUG flag and it didn't help.

edit 1: piece of code:

Mat cameraFeed;
Mat HSV;

capture.read(cameraFeed);
cvtColor(cameraFeed, HSV, COLOR_BGR2HSV);

Does anyone know anything about it?
Please tell if you need further information.