Bugfix: clear input vector of key points for detection stage

This commit is contained in:
Ievgen Khvedchenia 2014-04-24 22:01:29 +01:00
parent 33b9e4b4a3
commit 3e24822fff

View File

@ -331,6 +331,8 @@ void KAZEFeatures::Feature_Detection(std::vector<cv::KeyPoint>& kpts) {
double t2 = 0.0, t1 = 0.0;
t1 = getTickCount();
kpts.clear();
// Firstly compute the detector response for each pixel and scale level
Compute_Detector_Response();