kNOw SIGN
InterHand.hpp
Go to the documentation of this file.
1 #include <opencv2/imgproc/imgproc.hpp>
2 #include <opencv2/opencv.hpp>
3 #include <vector>
4 #include <string>
5 #include "FrameGen.hpp"
6 #include "main.hpp"
7 
14 class InterHand{
15  public:
17  InterHand();
18  std::vector<std::vector<cv::Point> > contours;
19 
20  cv::Rect rect;
21 
22  int cIdx;
24 
25  cv::Rect bRect;
26  double bRect_width;
27  double bRect_height;
28  bool isHand;
29 
35  bool detectIfHand();
36 
37 
38 
39 
40 
41 
42  private:
43 
44  int fontFace;
45 
52  void analyzeContours();
53 
54 
55 
56 };
57 
58 
59 
60 
61 
void analyzeContours()
define the hand area for processing
Definition: InterHand.cpp:10
int cIdx
Definition: InterHand.hpp:22
cv::Rect bRect
Definition: InterHand.hpp:25
FrameGen m
Definition: InterHand.hpp:16
bool detectIfHand()
return the results of the hand detection
Definition: InterHand.cpp:15
Class to handle intermediate processing of the hand detection such as hand bounding rectangle and con...
Definition: InterHand.hpp:14
cv::Rect rect
Definition: InterHand.hpp:20
int fontFace
Definition: InterHand.hpp:44
double bRect_height
Definition: InterHand.hpp:27
Class for video capturing from camera module. It takes the frames from the camera and passes it to ot...
Definition: FrameGen.hpp:14
int frameNumber
Definition: InterHand.hpp:23
bool isHand
Definition: InterHand.hpp:28
std::vector< std::vector< cv::Point > > contours
Definition: InterHand.hpp:18
double bRect_width
Definition: InterHand.hpp:26
InterHand()
Definition: InterHand.cpp:4