]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Changed long string to multiline.
authorShanigen <vkaraf@gmail.com>
Wed, 18 Jul 2018 11:22:30 +0000 (13:22 +0200)
committerShanigen <vkaraf@gmail.com>
Wed, 18 Jul 2018 11:22:30 +0000 (13:22 +0200)
src/kcf.cpp

index ff4b3a74dac5fa79f67e44c4cac5593775a04980..8cb08ad53ee960d23686b253580d517d4d0a4bfb 100644 (file)
@@ -134,7 +134,10 @@ void KCF_Tracker::init(cv::Mat &img, const cv::Rect & bbox, int fit_size_x, int
 
 #ifdef CUFFT
     if(p_windows_size[1]/p_cell_size*(p_windows_size[0]/p_cell_size/2+1) > 1024){
-        std::cerr << "Window after forward FFT is too big for CUDA kernels. Plese use -f to set the window dimensions so its size is less 1024 pixels in frequency domain. Currently the size of the window is: " <<  p_windows_size[0] << "x" <<  p_windows_size[1] << " which after forward FFT with cell size set to " << p_cell_size << " will be: " << p_windows_size[0]/p_cell_size/2+1 << "x" <<  p_windows_size[1]/p_cell_size << ", which is " << p_windows_size[1]/p_cell_size*(p_windows_size[0]/p_cell_size/2+1) << " pixels."<< std::endl;
+        std::cerr << "Window after forward FFT is too big for CUDA kernels. Plese use -f to set the window dimensions so its size is less 1024 pixels "
+        "in frequency domain. Currently the size of the window is: " <<  p_windows_size[0] << "x" <<  p_windows_size[1] << " which after forward FFT"
+        "with cell size set to " << p_cell_size << " will be: " << p_windows_size[0]/p_cell_size/2+1 << "x" <<  p_windows_size[1]/p_cell_size << ","
+        "which is " << p_windows_size[1]/p_cell_size*(p_windows_size[0]/p_cell_size/2+1) << " pixels."<< std::endl;
         std::exit(EXIT_FAILURE);
     }