]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Remove unnedded code
authorMichal Sojka <michal.sojka@cvut.cz>
Wed, 26 Sep 2018 21:58:15 +0000 (23:58 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 27 Sep 2018 05:33:18 +0000 (07:33 +0200)
src/kcf.cpp

index fd622bfe7825f20d04a9dca8c2e98d321c93cdc5..96bd4fee104bf35e9fb5bcadaf4cc5a4e51f4945 100644 (file)
@@ -191,8 +191,6 @@ void KCF_Tracker::init(cv::Mat &img, const cv::Rect &bbox, int fit_size_x, int f
         std::cerr << "cuFFT supports only Gaussian kernel." << std::endl;
         std::exit(EXIT_FAILURE);
     }
-#else
-    p_xf.create(feature_size.height, feature_size.height / 2 + 1, p_num_of_feats);
 #endif
 
 #if defined(CUFFT) || defined(FFTW)