mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 22:57:53 +08:00
Bugfix: clear input vector of key points for detection stage
This commit is contained in:
parent
33b9e4b4a3
commit
3e24822fff
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user