diff 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
line wrap: on
line diff
--- a/c/Parameters.cpp	Mon Jul 29 13:46:07 2013 -0400
+++ b/c/Parameters.cpp	Mon Jul 29 17:12:45 2013 -0400
@@ -35,6 +35,8 @@
     ("video-fps", po::value<float>(&videoFPS), "original video frame rate")
     ("frame1", po::value<unsigned int>(&frame1), "first frame to process")
     ("nframes", po::value<int>(&nFrames), "number of frame to process")
+	("list-filename", po::value<string>(&listFilename), "filename of the list of image files")
+	("folder-data", po::value<string>(&folderData), "folder where video or list file is placed")	
     // feature tracking
     ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame")
     ("feature-quality", po::value<float>(&featureQuality), "quality level of the good features to track")