projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5e5f04c
)
Moved the writing of the tracker.dat to main().
author
Francois Fleuret
<francois@fleuret.org>
Tue, 4 Mar 2014 20:20:44 +0000
(21:20 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 4 Mar 2014 20:20:44 +0000
(21:20 +0100)
mtp_example.cc
patch
|
blob
|
history
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();