Mercurial > hg > nsaunier > traffic-intelligence
annotate tracking.cfg @ 464:dcc821b98efc
integrated and reorganized Sohail s work on exact ttc computation
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sun, 23 Feb 2014 23:18:08 -0500 |
| parents | ca5784652d57 |
| children | 30b3455978d9 |
| 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 |
| 319 | 2 video-filename = laurier.avi |
|
137
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 |
| 319 | 4 database-filename = laurier.sqlite |
|
137
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 |
| 319 | 6 homography-filename = laurier-homography.txt |
|
137
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) |
| 319 | 8 mask-filename = none |
|
137
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 |
|
348
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
13 # original video frame rate (number of frames/s) |
|
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 |
|
418
ca5784652d57
updated use of calcOpticalFlowPyrLK for new signature, added minEigThreshold parameter in configuration file
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
352
diff
changeset
|
52 # minimum eigen value of a 2x2 normal matrix of optical flow equations |
|
ca5784652d57
updated use of calcOpticalFlowPyrLK for new signature, added minEigThreshold parameter in configuration file
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
352
diff
changeset
|
53 min-feature-eig-threshold = 1e-4 |
|
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
54 # 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
|
55 min-feature-time = 20 |
|
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
56 # 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
|
57 # connection distance in feature grouping |
|
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
58 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
|
59 # segmentation distance in feature grouping |
|
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
60 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
|
61 # maximum distance between features for grouping |
|
118
b3e3d9f80a6a
added configuration file and parameter structure
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
62 max-distance = 5 |
|
137
445e773c9be3
created the parameter structure to parse parameters (bug remaining)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
118
diff
changeset
|
63 # 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
|
64 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
|
65 # 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
|
66 min-nfeatures-group = 3 |
|
348
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
67 # Safety analysis |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
68 # maximum speed when predicting future motion (km/h) |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
69 max-predicted-speed = 50 |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
70 # time horizon for collision prediction (s) |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
71 prediction-time-horizon = 5 |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
72 # collision distance threshold (m) |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
73 collision-distance = 1.8 |
|
c64a4f889b97
added safety analysis options to feature tracking (with default values for backward compatibility)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
319
diff
changeset
|
74 # option to compute crossing zones and predicted PET |
|
349
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
75 crossing-zones = false |
|
352
72aa44072093
safety analysis script with option for prediction method
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
351
diff
changeset
|
76 # prediction method: cv, na, ps |
|
72aa44072093
safety analysis script with option for prediction method
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
351
diff
changeset
|
77 prediction-method = na |
|
349
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
78 # number of predicted trajectories (use depends on prediction method) |
|
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
79 npredicted-trajectories = 10 |
|
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
80 # minimum acceleration for input distribution (m/s2) (used only for evasive action distributions) |
|
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
81 min-acceleration = -9.1 |
|
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
82 # maximum acceleration for input distribution (m/s2) |
|
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
83 max-acceleration = 2 |
|
e3f910c26fae
added other safety analysis parameters
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
348
diff
changeset
|
84 # maximum steering for input distribution (rad/s) |
|
351
891858351bcb
added new parameter (use features) for safety analysis
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
349
diff
changeset
|
85 max-steering = 0.5 |
|
891858351bcb
added new parameter (use features) for safety analysis
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
349
diff
changeset
|
86 # use feature positions and velocities for prediction |
|
352
72aa44072093
safety analysis script with option for prediction method
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
351
diff
changeset
|
87 use-features-prediction = true |
