]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - main_vot.cpp
Allow getting filter response
[hercules2020/kcf.git] / main_vot.cpp
index a07a73367b2da6a87c61b3bfbfe9b4a3555f9b79..4a8c99e38adffad8b9041712e7548339e37c4288 100644 (file)
@@ -145,7 +145,8 @@ int main(int argc, char *argv[])
         double time_profile_counter = cv::getCPUTickCount();
         tracker.track(image);
         time_profile_counter = cv::getCPUTickCount() - time_profile_counter;
-         std::cout << "  -> speed : " <<  time_profile_counter/((double)cvGetTickFrequency()*1000) << "ms. per frame";
+         std::cout << "  -> speed : " <<  time_profile_counter/((double)cvGetTickFrequency()*1000) << "ms. per frame, "
+                      "response : " << tracker.getFilterResponse();
         avg_time += time_profile_counter/((double)cvGetTickFrequency()*1000);
         frames++;