forked from stefan-k/eyetracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheyecapture.h
More file actions
67 lines (52 loc) · 963 Bytes
/
eyecapture.h
File metadata and controls
67 lines (52 loc) · 963 Bytes
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* @file eyecapture.h
* @brief Captures the frames of the eye
*
* Image Processing and Pattern Recognition
* (Bildverarbeitung und Mustererkennung)
* Project
*/
#ifndef __EYECAPTURE_H__
#define __EYECAPTURE_H__
// stl
#include <vector>
// opencv
#include <cv.h>
class EyeCapture
{
cv::VideoCapture* m_eye;
//cv::VideoCapture eye;
cv::Mat m_frame;
unsigned m_eye_height;
unsigned m_eye_width;
const bool m_convert_to_gray;
public:
/**
* Constructor
* @param
*/
EyeCapture(const unsigned cameraID, const bool convert_to_gray);
/**
* Destructor
*/
virtual ~EyeCapture();
/**
* getFrame
* @param
*/
cv::Mat getFrame();
private:
/**
* disabled default constructor
*/
EyeCapture();
/**
* disabled copy constructor
*/
EyeCapture(const EyeCapture&);
/**
* disabled copy constructor
*/
EyeCapture& operator = (const EyeCapture&);
};
#endif //__EYECAPTURE_H__