2014-01-26 23:17:05 -0600 | received badge | ● Editor (source) |
2014-01-26 23:15:18 -0600 | asked a question | Debug Assertion Failed When Using Example in OpenCV Sample Code I have used the sample code (below website) in OpenCV, but I got a "Debug Assertion Failed" when I tried to tune the trackbar. It occurs when the function returns. It will be OK when I change the declaration of vectors to global domain. However it will still pop out the "Debug Assertion Failed" when the program ends. I think the problem is the destructor of vector, but I don't know how to solve it. Please help me to solve this problem. By the way, I work in VC 2013 and OpenCV 2.4.8. Edgar |