3 #include <Vision/ICupDetector.hpp> 95 std::shared_ptr<cv::Mat> depth;
96 std::shared_ptr<cv::Mat> ir;
97 std::shared_ptr<cv::Mat> color;
std::shared_ptr< cv::Mat > get_detected_cups_image() override
returns the color image as a mock
Mocks a ICupDetector Mocks an ICupDetector by reading frames from files.
Definition: MockCupDetector.hpp:13
Can detect cups using the Kinect color and depth camera. This class allows its user to detect cups in...
Definition: ICupDetector.hpp:39
MockCupDetector & operator=(const MockCupDetector &cup_detector)=default
Default assignment opreator.
std::shared_ptr< cv::Mat > get_latest_ir_frame() override
Returns a static IR frame.
CupDetection detect_cups() override
Mocks the detection of cups Mocks the detection of cups by using a static depth frame and predefined ...
std::shared_ptr< cv::Mat > get_latest_color_frame() override
Returns a static color frame.
~MockCupDetector() override=default
Default destructor.
std::shared_ptr< cv::Mat > get_latest_depth_frame() override
Returns a static depth frame.
Collection of detected cups Collection of detected cups where the location of the cups is described i...
Definition: ICupDetector.hpp:17
MockCupDetector()
Standard constructor.