Ask Your Question

Ferran Roure's profile - activity

2016-05-31 19:46:08 -0600 received badge  Famous Question (source)
2015-04-23 16:29:37 -0600 received badge  Notable Question (source)
2015-02-20 08:01:13 -0600 received badge  Student (source)
2014-09-25 09:57:58 -0600 received badge  Popular Question (source)
2013-06-27 05:42:11 -0600 commented answer OpenCV Error: Assertion failed (s >= 0) in setSize

Thank! I've found the error. Is the problem of working with a code that is not mine. :P

Thank you very much! :D


ferran

2013-06-27 05:41:13 -0600 received badge  Supporter (source)
2013-06-27 05:41:10 -0600 received badge  Scholar (source)
2013-06-27 05:18:20 -0600 asked a question OpenCV Error: Assertion failed (s >= 0) in setSize

Hi everyone,

I'm new user and I'm trying to execute my program that uses opencv. It compiles but during the exeution it appears this error.

OpenCV Error: Assertion failed (s >= 0) in setSize, file /<path_to_opencv>/OpenCV/OpenCV-2.4.3/modules/core/src/matrix.cpp, line 115 terminate called after throwing an instance of 'cv::Exception' what(): /<path_to_opencv>/OpenCV/OpenCV-2.4.3/modules/core/src/matrix.cpp:115: error: (-215) s >= 0 in function setSize

Can you help me? I've search through the internet for solutions but I didn't find anything related.

Thanks!!

Ferran.-