X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=mtp_example.cc;fp=mtp_example.cc;h=14132c145ddd1e57f4bd921e3a71ff43b43065db;hp=21d644345f7c4ade92a9c8a8a15b6b5bf2fb88fa;hb=fd7e307fc8fabc25c46ae793d70b5af4c9dd36a9;hpb=5e5f04c1c5731240d50a1f9fb99c077d70dff223 diff --git a/mtp_example.cc b/mtp_example.cc index 21d6443..14132c1 100644 --- a/mtp_example.cc +++ b/mtp_example.cc @@ -126,12 +126,6 @@ void create_light_test(MTPTracker *tracker) { tracker->detection_scores[t][la] = sa; tracker->detection_scores[t][lb] = sb; } - - { // Write down the tracker setting, so that we can use it as an - // example for the mtp command line - ofstream out_tracker("tracker.dat"); - tracker->write(&out_tracker); - } } void create_heavy_test(MTPTracker *tracker) { @@ -182,6 +176,13 @@ int main(int argc, char **argv) { create_light_test(tracker); } + { + // Write down the tracker setting, so that we can use it as an + // example for the mtp command line + ofstream out_tracker("tracker.dat"); + tracker->write(&out_tracker); + } + // Performs the tracking per se tracker->track();