kNOw SIGN
roi.hpp
Go to the documentation of this file.
1 
2 #ifndef ROI
3 #define ROI
4 
5 #include <opencv2/imgproc/imgproc.hpp>
6 #include<opencv2/opencv.hpp>
7 
8 
15 class My_ROI{
16  public:
17  My_ROI();
18  My_ROI(cv::Point upper_corner, cv::Point lower_corner,cv::Mat src);
20  cv::Mat roi_ptr;
21  cv::Scalar color;
23 
29  void draw_rectangle(cv::Mat src);
30 };
31 
32 
33 
34 #endif
cv::Point upper_corner
Definition: roi.hpp:19
cv::Scalar color
Definition: roi.hpp:21
cv::Mat roi_ptr
Definition: roi.hpp:20
void draw_rectangle(cv::Mat src)
Draw rectangles on the frame using corner points.
Definition: roi.cpp:17
Class for drawing region of interest. The functions and variables of this class are used to draw regi...
Definition: roi.hpp:15
My_ROI()
Definition: roi.cpp:4
cv::Point lower_corner
Definition: roi.hpp:19
int border_thickness
Definition: roi.hpp:22