Go to the documentation of this file.00001 #ifndef VISUAL_POSE_ESTIMATION_OBJECT_DETECTOR_H
00002 #define VISUAL_POSE_ESTIMATION_OBJECT_DETECTOR_H
00003
00004 #include <opencv/cv.h>
00005 #include <vector>
00006
00007 namespace visual_pose_estimation {
00008
00009 class ObjectDetector
00010 {
00011 public:
00012 virtual bool detect(const cv::Mat& image, std::vector<cv::Point2f>& points) const = 0;
00013
00014 virtual void getDisplayImage(const cv::Mat& source,
00015 const std::vector<cv::Point2f>& points,
00016 bool success, cv::Mat& display) const = 0;
00017 };
00018
00019 }
00020
00021 #endif