projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f248d94
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Sun, 26 Aug 2012 07:28:58 +0000
(09:28 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sun, 26 Aug 2012 07:28:58 +0000
(09:28 +0200)
mtp_example.cc
patch
|
blob
|
history
diff --git
a/mtp_example.cc
b/mtp_example.cc
index
84ef153
..
91e4d6b
100644
(file)
--- a/
mtp_example.cc
+++ b/
mtp_example.cc
@@
-84,14
+84,14
@@
int main(int argc, char **argv) {
}
}
}
}
- // Then we
two targets with the typical local minimum:
+ // Then we
add two targets with a typical tracking local minimum
//
// * Target A moves from location 0 to the middle, stays there for a
//
// * Target A moves from location 0 to the middle, stays there for a
- // while, and comes back
, and
is strongly detected on the first
+ // while, and comes back
. It
is strongly detected on the first
// half
//
// * Target B moves from location nb_locations-1 to the middle, stay
// half
//
// * Target B moves from location nb_locations-1 to the middle, stay
- // there for a while, and comes back
, and
is strongly detected on
+ // there for a while, and comes back
. It
is strongly detected on
// the second half
int la, lb; // Target locations
// the second half
int la, lb; // Target locations
@@
-116,7
+116,8
@@
int main(int argc, char **argv) {
tracker->detection_scores[t][lb] = sb;
}
tracker->detection_scores[t][lb] = sb;
}
- { // Write down the tracker setting
+ { // 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);
}
ofstream out_tracker("tracker.dat");
tracker->write(&out_tracker);
}