]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Give windows more descriptive names
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 18 Oct 2018 10:19:24 +0000 (12:19 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 18 Oct 2018 10:25:07 +0000 (12:25 +0200)
I use this the configure my window manager to handle those windows
specifically.

main_vot.cpp
src/kcf.cpp

index 32e54542db5bbdf5aa17cf5e30b8a46ed4fb5adc..65b982f4108b8286c4ee7377b7b99d537ffe0c14 100644 (file)
@@ -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;
index 57477bc19bce6a7ce50ea2cb23243eb3f10a107a..91e50bd34d8b0b2c960d61ab465d3a55ed8e0505 100644 (file)
@@ -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);