Mercurial Hosting > traffic-intelligence
annotate tracking.cfg @ 231:249d65ff6c35
merged modifications for windows
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 02 Jul 2012 23:49:39 -0400 |
parents | 23da16442433 |
children | 6b65b26c1e46 |
rev | line source |
---|---|
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
1 # filename of the video to process |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
2 video-filename = ~/Research/Data/minnesota/Rice-and-University-12_50.avi |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
3 # filename of the database where results are saved |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
4 database-filename = ~/Research/Data/minnesota/results.sqlite |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
5 # filename of the homography matrix |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
6 homography-filename = ~/Research/Data/minnesota/Rice-and-University-12_50-homography.txt |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
7 # filename of the mask image (where features are detected) |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
8 mask-filename = ~/Research/Data/minnesota/Rice-and-University-12_50-mask.png |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
9 # load features from database |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
10 load-features = false |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
11 # display trajectories on the video |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
12 display = false |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
13 # original video frame rate |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
14 video-fps = 29.97 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
15 # number of digits of precision for all measurements derived from video |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
16 # measurement-precision = 3 |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
17 # first frame to process |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
18 frame1 = 0 |
228
23da16442433
minor modifications for unsigned int (nframes is now 0 to process all frames)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
141
diff
changeset
|
19 # number of frame to process: 0 means processing all frames |
23da16442433
minor modifications for unsigned int (nframes is now 0 to process all frames)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
141
diff
changeset
|
20 nframes = 0 |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
21 # feature tracking |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
22 # maximum number of features added at each frame |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
23 max-nfeatures = 1000 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
24 # quality level of the good features to track |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
25 feature-quality = 0.1 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
26 # minimum distance between features |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
27 min-feature-distanceklt = 5 |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
28 # size of the search window at each pyramid level |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
29 window-size = 7 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
30 # use of Harris corner detector |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
31 use-harris-detector = false |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
32 # k parameter to detect good features to track (OpenCV) |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
33 k = 0.4 |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
34 # maximal pyramid level in the feature tracking algorithm |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
35 pyramid-level = 5 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
36 # number of displacement to test minimum feature motion |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
37 ndisplacements = 3 |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
38 # minimum displacement to keep features |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
39 min-feature-displacement = 0.05 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
40 # maximum feature acceleration |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
41 acceleration-bound = 3 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
42 # maximum feature deviation |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
43 deviation-bound = 0.6 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
44 # number of frames to smooth positions (half window) |
141
6f10a227486c
modifications to get nframes option working on the command line
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
139
diff
changeset
|
45 smoothing-halfwidth = 5 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
46 # number of frames to compute velocities |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
47 #nframes-velocity = 5 |
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
48 # maximum number of iterations to stop feature tracking |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
49 max-number-iterations = 20 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
50 # minimum error to reach to stop feature tracking |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
51 min-tracking-error = 0.3 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
52 # minimum length of a feature (number of frames) to consider a feature for grouping |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
53 min-feature-time = 20 |
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
54 # Min Max similarity parameters (Beymer et al. method) |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
55 # connection distance in feature grouping |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
56 mm-connection-distance = 3.75 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
57 # segmentation distance in feature grouping |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
58 mm-segmentation-distance = 1.5 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
59 # maximum distance between features for grouping |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
60 max-distance = 5 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
61 # minimum cosine of the angle between the velocity vectors for grouping |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
62 min-velocity-cosine = 0.8 |
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
63 # minimum average number of features per frame to create a vehicle hypothesis |
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
64 min-nfeatures-group = 3 |