VAT  3.0
Video Analysis Tool
AcquisitionCameraModule.h
1 #ifndef ACQUISITIONCAMERAMODULE_H
2 #define ACQUISITIONCAMERAMODULE_H
3 
4 #include "Datapool.h"
5 #include "ModuleInterface.h"
6 #include <opencv/cv.h>
7 #include <opencv/highgui.h>
8 
9 #include "CameraThread.h"
10 
17 public:
24 
31  bool setParameters(QDomNode &config);
32 
38  bool init();
39 
45  bool run();
46 
52  bool updateParameters();
53 
61  QImage *Mat2QImage(cv::Mat &img);
62 
70  TimeStamp mseconds2TimeStamp(int msec);
71 
72 private:
73  QString mediaType;
74  QString mediaURL;
75  int device_id;
76  CameraThread *cameraThread;
77 
78  QString server_ip;
79  QString server_port;
80  QString protocol;
81  QString metafile;
82  QString user;
83  QString password;
84 
85 
86 };
87 
88 #endif // ACQUISITIONCAMERAMODULE_H
The AcquisitionCameraModule class is a module designed to be in charge of frame acquisition from a li...
Definition: AcquisitionCameraModule.h:11
Definition: ModuleInterface.h:43
The CameraThread class is used as a Thread class to parallelly capture video frames from camera...
Definition: CameraThread.h:79
Definition: TimeStamp.h:4
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39