From 1899d4746dabac16c2c95a64f373a8a598c516e8 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 18 Oct 2018 12:19:24 +0200 Subject: [PATCH] Give windows more descriptive names I use this the configure my window manager to handle those windows specifically. --- main_vot.cpp | 2 +- src/kcf.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main_vot.cpp b/main_vot.cpp index 32e5454..65b982f 100644 --- a/main_vot.cpp +++ b/main_vot.cpp @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) for (int i = 0; i < 4; i++) cv::line(image, vertices[i], vertices[(i + 1) % 4], cv::Scalar(0, 255, 0), 2); - cv::imshow("output", image); + cv::imshow("KCF output", image); int ret = cv::waitKey(visualize_delay); if (visualize_delay > 0 && ret != -1 && ret < 128) break; diff --git a/src/kcf.cpp b/src/kcf.cpp index 57477bc..91e50bd 100644 --- a/src/kcf.cpp +++ b/src/kcf.cpp @@ -320,8 +320,8 @@ double KCF_Tracker::findMaxReponse(uint &max_idx, cv::Point2d &new_location) con tmp.copyTo(resp_roi); } } - cv::namedWindow("All responses", CV_WINDOW_AUTOSIZE); - cv::imshow("All responses", all_responses); + cv::namedWindow("KCF visual debug", CV_WINDOW_AUTOSIZE); + cv::imshow("KCF visual debug", all_responses); } cv::Point2i &max_response_pt = IF_BIG_BATCH(d.threadctxs[0].max[max_idx].loc, d.threadctxs[max_idx].max.loc); -- 2.39.2