Ask Your Question

openCVshoe's profile - activity

2013-11-19 08:26:37 -0600 received badge  Editor (source)
2013-11-19 01:06:27 -0600 asked a question detector- vector iterators incompatible

I'm performing feature matching with version 2.4.5 of openCV with the same code from the openCV tutorial documentation.

std::vector<KeyPoint> keypoints_1, keypoints_2;
detector.detect( img_1, keypoints_1 );

The last line of code gives an 'assertion failed, vector iterators incompatible' error. I'm working in VS2010X64bit and the openCV is compiled the same way. I've seen a post telling the flag SECURE_SCL should be 0, and it is 0.

Thanks!