diff c/tracking.cfg @ 137:445e773c9be3

created the parameter structure to parse parameters (bug remaining)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 19 Aug 2011 01:35:45 -0400
parents b3e3d9f80a6a
children
line wrap: on
line diff
--- a/c/tracking.cfg	Thu Aug 18 22:25:21 2011 -0400
+++ b/c/tracking.cfg	Fri Aug 19 01:35:45 2011 -0400
@@ -1,50 +1,64 @@
-# video file to process: videoFilenamePrefix
-video-filename = carrefour.avi
-# original video frame rate: videoFPS
+# filename of the video to process
+video-filename = ~/Research/Data/minnesota/Rice-and-University-12_50.avi
+# filename of the database where results are saved
+database-filename = ~/Research/Data/minnesota/results.sqlite
+# filename of the homography matrix
+homography-filename = ~/Research/Data/minnesota/Rice-and-University-12_50-homography.txt
+# filename of the mask image (where features are detected)
+mask-filename = ~/Research/Data/minnesota/Rice-and-University-12_50-mask.png
+# load features from database
+load-features = false
+# display trajectories on the video
+display = false
+# original video frame rate
 video-fps = 29.97
-# number of digits of precision for all measurements derived from video: measurementPrecision
-measurement-precision = 3
-# first frame to process: frame1
+# number of digits of precision for all measurements derived from video
+# measurement-precision = 3
+# first frame to process
 frame1 = 0
-# number of frame to process: nFrames
+# number of frame to process
 nframes = -1
 # feature tracking
-# maximum number of tracked features (> 500): maxNFeatures
+# maximum number of features added at each frame
 max-nfeatures = 1000
-# quality level of the good features to track: featureQuality
+# quality level of the good features to track
 feature-quality = 0.1
-# minimum distance between features: minFeatureDistanceKLT
-min-feature-distance = 5
-# size of the search window at each pyramid level: windowSize
+# minimum distance between features
+min-feature-distanceklt = 5
+# size of the search window at each pyramid level
 window-size = 7
-# maximal pyramid level in the feature tracking algorithm: pyramidLevel
+# use of Harris corner detector
+use-harris-detector = false
+# k parameter to detect good features to track (OpenCV)
+k = 0.4
+# maximal pyramid level in the feature tracking algorithm
 pyramid-level = 5
-# number of frames to compute the feature displacement: nFramesDisplacement
-nframes-displacement = 3
-# minimum displacement to keep features: minFeatureDisplacement
+# number of displacement to test minimum feature motion
+ndisplacements = 3
+# minimum displacement to keep features
 min-feature-displacement = 0.05
-# maximum feature acceleration: accelerationBound
+# maximum feature acceleration
 acceleration-bound = 3
-# maximum feature deviation: deviationBound
+# maximum feature deviation
 deviation-bound = 0.6
-# number of frames to smooth positions (half window): nFramesSmoothing
+# number of frames to smooth positions (half window)
 nframes-smoothing = 5
-# number of frames to compute velocities: nFramesVelocity
-nframes-velocity = 5
-# maximum number of iterations to stop feature tracking:  maxNumberTrackingIterations
+# number of frames to compute velocities
+#nframes-velocity = 5
+# maximum number of iterations to stop feature tracking
 max-number-iterations = 20
-# minimum error to reach to stop feature tracking: minTrackingError
+# minimum error to reach to stop feature tracking
 min-tracking-error = 0.3
-# minimum length of a feature (number of frames) to consider a feature for grouping: minFeatureTime
+# minimum length of a feature (number of frames) to consider a feature for grouping
 min-feature-time = 20
 # Min Max similarity parameters (Beymer et al. method)
-# connection distance in feature grouping: mmConnectionDistance
+# connection distance in feature grouping
 mm-connection-distance = 3.75
-# segmentation distance in feature grouping: mmSegmentationDistance
+# segmentation distance in feature grouping
 mm-segmentation-distance = 1.5
-# maximum distance between features for grouping: maxDistance
+# maximum distance between features for grouping
 max-distance = 5
-# minimum cosine of the angle between the velocity vectors for grouping: minVelocityCosine
+# minimum cosine of the angle between the velocity vectors for grouping
 min-velocity-cosine = 0.8
-# minimum average number of features per frame to create a vehicle hypothesis: minNFeaturesPerGroup
+# minimum average number of features per frame to create a vehicle hypothesis
 min-nfeatures-group = 3