Ask Your Question
0

Limitations in using Feature detector OpenCV 3

asked 2015-10-11 00:49:06 -0600

iamprivate gravatar image

updated 2015-10-11 00:55:46 -0600

berak gravatar image

In older version of OpenCV I was able to use different combination of feature detectors and feature discriptors. For example FAST with BRIEF , FAST with ORB, ORB with BRIEF and so on. But in OpenCV 3 I see its no more possible. For example I can use BRISK only with BRISK, AKAZE with AKAZE. I get error like this if I try otherwise

Assertion failed (0 <= kpts[i].class_id && kpts[i].class_id < static_cast<int>(evolution_.size()))

I wanted to use other feature detectors(Ex. FAST) with AKAZE descriptor since I see AKAZE doesnt give many points sometimes. Any leads on how can it be done ?
I am using JAVA OpenCV

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-07 06:22:06 -0600

nic gravatar image

Apparently you just have to set the parameter _class_id=0 in the KeyPoint constructor. And remember: software is eating up the world...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-10-11 00:49:06 -0600

Seen: 771 times

Last updated: Feb 07 '17