projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved the writing of the tracker.dat to main().
[mtp.git]
/
mtp_example.cc
diff --git
a/mtp_example.cc
b/mtp_example.cc
index
21d6443
..
14132c1
100644
(file)
--- 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;
}
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) {
}
void create_heavy_test(MTPTracker *tracker) {
@@
-182,6
+176,13
@@
int main(int argc, char **argv) {
create_light_test(tracker);
}
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();
// Performs the tracking per se
tracker->track();