-
Notifications
You must be signed in to change notification settings - Fork 5
/
Parameters.h
47 lines (30 loc) · 841 Bytes
/
Parameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef PARAMETERS_H
#define PARAMETERS_H
#include <boost/program_options.hpp>
#include "opencv2/opencv.hpp"
class PipelineFunction;
class Parameters
{
public:
cv::FileStorage file;
cv::FileNode rootNode;
bool nogui = false;
std::string parametersFilename;
std::string bgFilename;
std::string inputFilename;
std::string zonesFilename;
int usbDevice = -1;
int avtDevice = -1;
std::vector<int> usbDevices;
std::vector<std::string> inputFilenames;
std::string stitchingFilename;
std::string calibrationFilename;
double startTime = -1;
double durationTime = -1;
bool multiUSBCapture = false;
bool multiVideoCapture = false;
void loadXML (std::string filename);
void parseCommandLine (int argc, char** argv);
};
extern Parameters parameters;
#endif