Mercurial Hosting > traffic-intelligence
comparison c/Parameters.cpp @ 399:c389fae9689a
Added a class to read list of image instead of video. This is controlled by the use of the database-filename and folder-data parameters in the config file.
author | Jean-Philippe Jodoin <jpjodoin@gmail.com> |
---|---|
date | Mon, 29 Jul 2013 17:12:45 -0400 |
parents | 72aa44072093 |
children | ca5784652d57 |
comparison
equal
deleted
inserted
replaced
398:3399bd48cb40 | 399:c389fae9689a |
---|---|
33 ("load-features", po::value<bool>(&loadFeatures), "load features from database") | 33 ("load-features", po::value<bool>(&loadFeatures), "load features from database") |
34 ("display", po::value<bool>(&display), "display trajectories on the video") | 34 ("display", po::value<bool>(&display), "display trajectories on the video") |
35 ("video-fps", po::value<float>(&videoFPS), "original video frame rate") | 35 ("video-fps", po::value<float>(&videoFPS), "original video frame rate") |
36 ("frame1", po::value<unsigned int>(&frame1), "first frame to process") | 36 ("frame1", po::value<unsigned int>(&frame1), "first frame to process") |
37 ("nframes", po::value<int>(&nFrames), "number of frame to process") | 37 ("nframes", po::value<int>(&nFrames), "number of frame to process") |
38 ("list-filename", po::value<string>(&listFilename), "filename of the list of image files") | |
39 ("folder-data", po::value<string>(&folderData), "folder where video or list file is placed") | |
38 // feature tracking | 40 // feature tracking |
39 ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame") | 41 ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame") |
40 ("feature-quality", po::value<float>(&featureQuality), "quality level of the good features to track") | 42 ("feature-quality", po::value<float>(&featureQuality), "quality level of the good features to track") |
41 ("min-feature-distanceklt", po::value<float>(&minFeatureDistanceKLT), "minimum distance between features") | 43 ("min-feature-distanceklt", po::value<float>(&minFeatureDistanceKLT), "minimum distance between features") |
42 ("window-size", po::value<int>(&windowSize), "size of the search window at each pyramid level") | 44 ("window-size", po::value<int>(&windowSize), "size of the search window at each pyramid level") |