Mercurial > hg > nsaunier > traffic-intelligence
comparison tracking.cfg @ 139:47329bd16cc0
cleaned code, added condition on smooth displacement
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Tue, 23 Aug 2011 13:14:47 -0400 |
| parents | c/tracking.cfg@445e773c9be3 |
| children | 6f10a227486c |
comparison
equal
deleted
inserted
replaced
| 138:c1b260b48d2a | 139:47329bd16cc0 |
|---|---|
| 1 # filename of the video to process | |
| 2 video-filename = ~/Research/Data/minnesota/Rice-and-University-12_50.avi | |
| 3 # filename of the database where results are saved | |
| 4 database-filename = ~/Research/Data/minnesota/results.sqlite | |
| 5 # filename of the homography matrix | |
| 6 homography-filename = ~/Research/Data/minnesota/Rice-and-University-12_50-homography.txt | |
| 7 # filename of the mask image (where features are detected) | |
| 8 mask-filename = ~/Research/Data/minnesota/Rice-and-University-12_50-mask.png | |
| 9 # load features from database | |
| 10 load-features = false | |
| 11 # display trajectories on the video | |
| 12 display = false | |
| 13 # original video frame rate | |
| 14 video-fps = 29.97 | |
| 15 # number of digits of precision for all measurements derived from video | |
| 16 # measurement-precision = 3 | |
| 17 # first frame to process | |
| 18 frame1 = 0 | |
| 19 # number of frame to process | |
| 20 nframes = -1 | |
| 21 # feature tracking | |
| 22 # maximum number of features added at each frame | |
| 23 max-nfeatures = 1000 | |
| 24 # quality level of the good features to track | |
| 25 feature-quality = 0.1 | |
| 26 # minimum distance between features | |
| 27 min-feature-distanceklt = 5 | |
| 28 # size of the search window at each pyramid level | |
| 29 window-size = 7 | |
| 30 # use of Harris corner detector | |
| 31 use-harris-detector = false | |
| 32 # k parameter to detect good features to track (OpenCV) | |
| 33 k = 0.4 | |
| 34 # maximal pyramid level in the feature tracking algorithm | |
| 35 pyramid-level = 5 | |
| 36 # number of displacement to test minimum feature motion | |
| 37 ndisplacements = 3 | |
| 38 # minimum displacement to keep features | |
| 39 min-feature-displacement = 0.05 | |
| 40 # maximum feature acceleration | |
| 41 acceleration-bound = 3 | |
| 42 # maximum feature deviation | |
| 43 deviation-bound = 0.6 | |
| 44 # number of frames to smooth positions (half window) | |
| 45 nframes-smoothing = 5 | |
| 46 # number of frames to compute velocities | |
| 47 #nframes-velocity = 5 | |
| 48 # maximum number of iterations to stop feature tracking | |
| 49 max-number-iterations = 20 | |
| 50 # minimum error to reach to stop feature tracking | |
| 51 min-tracking-error = 0.3 | |
| 52 # minimum length of a feature (number of frames) to consider a feature for grouping | |
| 53 min-feature-time = 20 | |
| 54 # Min Max similarity parameters (Beymer et al. method) | |
| 55 # connection distance in feature grouping | |
| 56 mm-connection-distance = 3.75 | |
| 57 # segmentation distance in feature grouping | |
| 58 mm-segmentation-distance = 1.5 | |
| 59 # maximum distance between features for grouping | |
| 60 max-distance = 5 | |
| 61 # minimum cosine of the angle between the velocity vectors for grouping | |
| 62 min-velocity-cosine = 0.8 | |
| 63 # minimum average number of features per frame to create a vehicle hypothesis | |
| 64 min-nfeatures-group = 3 |
