Ask Your Question

Revision history [back]

Hi! Yes, detectAndCompute supposed to work in OCV3 ;-) You just have to create algorithm like that:

cv::Ptr<cv::BRISK> ptrBrisk = cv::BRISK::create();
ptrBrisk->detect(imTmp, objectKeypoints);

Your error is very simple but probably shows a design problem in Opencv3. Indeed, your code seems logical and correct, but behind-the-scenes, BRISK::create() doesn't create a BRISK object but a BRISK_Impl object!