Ask Your Question

Revision history [back]

Debug assertion failed using squares.cpp from opencv examples

I'm using opencv 3.0 and VS 2015. I'm using squares.cpp from opencv examples here

https://github.com/Itseez/opencv/blob/master/samples/cpp/squares.cpp

I have no idea why I'm getting this error:

image description

The problem occurs during executing the findSquares() function, but I wasn't able to find anything more specific. I've double checked the opencv release and debug library linkage, but it seems to be alright. I'll appreciate any idea how to get rid of this.