1 | initial version |
Hi Steven, I have compiled the sample, but got an SIGABRT error during execution. After selecting the object in color image by a double click on the right mouse button the error occurs. A single click only opens the context menu. This should be fixed in the usage description in line 69. Here is the error message:
OpenCV Error: Assertion failed (!fixedSize() || ((Mat)obj)->size.operator()() == Size(cols, rows)) in create, file /home/XXXXXX/software/SRC/opencv-2.4.6.1/modules/core/src/matrix.cpp, line 1392 terminate called after throwing an instance of 'cv::Exception' what(): /home/XXXXXX/software/SRC/opencv-2.4.6.1/modules/core/src/matrix.cpp:1392: error: (-215) !fixedSize() || ((Mat)obj)->size.operator()() == Size(cols, rows) in function create
And here is the callstack:
0 __GI_raise raise.c 64 0x7ffff5fbf425
1 __GI_abort abort.c 91 0x7ffff5fc2b8b
2 __gnu_cxx::__verbose_terminate_handler() /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff691169d
3 ?? /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff690f846
4 std::terminate() /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff690f873
5 __cxa_throw /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff690f96e
6 cv::error system.cpp 453 0x7ffff7ab07c8
7 cv::_OutputArray::create matrix.cpp 1392 0x7ffff7adc1df
8 cv::transpose matrix.cpp 2009 0x7ffff7ae4365
9 cv::_SVDcompute lapack.cpp 1568 0x7ffff7a5a806
10 cv::SVD::compute lapack.cpp 1582 0x7ffff7a5aa60
11 filterPlane main.cpp 457 0x414c6a
12 subtractPlane main.cpp 571 0x4158d1
13 main main.cpp 236 0x413340
The cpp-example-linemod from the OpenCV C++ samples works fine. See screenshot
Note: I'm using Ubuntu 12.04 64Bit with OpenCV 2.4.6.1 (HighGUI with Qt5)
2 | No.2 Revision |
Hi Steven, I have successfully compiled the sample, but got an SIGABRT error during execution. After selecting the object in color image by a double click on the right mouse button the error occurs. A single click only opens the context menu. This should be fixed in the usage description in line 69. Here is the error message:
OpenCV Error: Assertion failed (!fixedSize() || ((Mat)obj)->size.operator()() == Size(cols, rows)) in create, file /home/XXXXXX/software/SRC/opencv-2.4.6.1/modules/core/src/matrix.cpp, line 1392 terminate called after throwing an instance of 'cv::Exception' what(): /home/XXXXXX/software/SRC/opencv-2.4.6.1/modules/core/src/matrix.cpp:1392: error: (-215) !fixedSize() || ((Mat)obj)->size.operator()() == Size(cols, rows) in function create
And here is the callstack:
0 __GI_raise raise.c 64 0x7ffff5fbf425
1 __GI_abort abort.c 91 0x7ffff5fc2b8b
2 __gnu_cxx::__verbose_terminate_handler() /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff691169d
3 ?? /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff690f846
4 std::terminate() /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff690f873
5 __cxa_throw /usr/lib/x86_64-linux-gnu/libstdc++.so.6 0x7ffff690f96e
6 cv::error system.cpp 453 0x7ffff7ab07c8
7 cv::_OutputArray::create matrix.cpp 1392 0x7ffff7adc1df
8 cv::transpose matrix.cpp 2009 0x7ffff7ae4365
9 cv::_SVDcompute lapack.cpp 1568 0x7ffff7a5a806
10 cv::SVD::compute lapack.cpp 1582 0x7ffff7a5aa60
11 filterPlane main.cpp 457 0x414c6a
12 subtractPlane main.cpp 571 0x4158d1
13 main main.cpp 236 0x413340
The cpp-example-linemod from the OpenCV C++ samples works fine. See screenshot screen-shot
Note: I'm using Ubuntu 12.04 64Bit with OpenCV 2.4.6.1 (HighGUI with Qt5)