1 #ifndef __DETECTOR_BASE_H__ 2 #define __DETECTOR_BASE_H__ 12 std::vector<std::pair<cv::Point,cv::Point> >
lines_;
22 virtual bool detect(cv::Mat& image,
int timeout=1000,
unsigned int offsetx=0,
unsigned int offsety=0) = 0;
24 std::vector<std::pair<cv::Point,cv::Point> >&
get_lines();
std::vector< std::pair< cv::Point, cv::Point > > & get_lines()
virtual bool detect(cv::Mat &image, int timeout=1000, unsigned int offsetx=0, unsigned int offsety=0)=0
std::vector< cv::Point > & get_polygon()
std::string & get_message()
std::vector< cv::Point > polygon_
std::vector< std::pair< cv::Point, cv::Point > > lines_