Can detect cups using the Kinect color and depth camera. This class allows its user to detect cups in a depth image of the Kinect. It also offers an interface to get the latest frames from the three Camera's the Kinect offers.  
 More...
#include <ICupDetector.hpp>
Can detect cups using the Kinect color and depth camera. This class allows its user to detect cups in a depth image of the Kinect. It also offers an interface to get the latest frames from the three Camera's the Kinect offers. 
  
  | 
        
          | HLR::Vision::ICupDetector::ICupDetector | ( | ICupDetector && | cup_detector | ) |  |  | default | 
 
Default move constructor. 
- Parameters
- 
  
  
 
 
  
  | 
        
          | HLR::Vision::ICupDetector::ICupDetector | ( | const ICupDetector & | cup_detector | ) |  |  | default | 
 
Default copy constructor. 
- Parameters
- 
  
  
 
 
  
  | 
        
          | virtual CupDetection HLR::Vision::ICupDetector::detect_cups | ( |  | ) |  |  | pure virtual | 
 
Detects cups using the Kinect Detects cups using the camera's of the Kinect. This function returns the location of the detected cups in the depth image of the Kinect. 
- Returns
- CupDetection The location of the detected cups in the depth image of the Kinect. 
Implemented in HLR::Vision::MockCupDetector, and HLR::Vision::CupDetector.
 
 
  
  | 
        
          | virtual std::shared_ptr<cv::Mat> HLR::Vision::ICupDetector::get_detected_cups_image | ( |  | ) |  |  | pure virtual | 
 
Returns an image wich has outlined and identified the detected cups. 
Returns an image wich has outlined and identified the detected cups. In this image a square is drawn around the contour of the detected cups and a number is displayed above each of the detected cups.
- Returns
- std::shared_ptr<cv::Mat> An image wich has outlined and identified the detected cups. 
Implemented in HLR::Vision::MockCupDetector, and HLR::Vision::CupDetector.
 
 
  
  | 
        
          | virtual std::shared_ptr<cv::Mat> HLR::Vision::ICupDetector::get_latest_color_frame | ( |  | ) |  |  | pure virtual | 
 
 
  
  | 
        
          | virtual std::shared_ptr<cv::Mat> HLR::Vision::ICupDetector::get_latest_depth_frame | ( |  | ) |  |  | pure virtual | 
 
 
  
  | 
        
          | virtual std::shared_ptr<cv::Mat> HLR::Vision::ICupDetector::get_latest_ir_frame | ( |  | ) |  |  | pure virtual | 
 
 
Default assignment operator. 
- Parameters
- 
  
    | cup_detector | object to assign |  
 
- Returns
- ICupDetector& 
 
 
default move assignment operator 
- Parameters
- 
  
  
- Returns
- ICupDetector& 
 
 
The documentation for this class was generated from the following file: