Implementation of CupDetector.
More...
#include <CupDetector.hpp>
Implementation of CupDetector.
HLR::Vision::CupDetector::CupDetector |
( |
CupDetector && |
cup_detector | ) |
|
|
delete |
Deleted move constructor.
- Parameters
-
HLR::Vision::CupDetector::CupDetector |
( |
const CupDetector & |
cup_detector | ) |
|
|
delete |
Deleted copy constructor.
- Parameters
-
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.
Implements HLR::Vision::ICupDetector.
std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_detected_cups_image |
( |
| ) |
|
|
overridevirtual |
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.
Implements HLR::Vision::ICupDetector.
std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_latest_color_frame |
( |
| ) |
|
|
overridevirtual |
Returns the latest color frame of the Kinect color camera.
- Returns
- std::shared_ptr<cv::Mat> The latest color frame of the Kinect color camera.
Implements HLR::Vision::ICupDetector.
std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_latest_depth_frame |
( |
| ) |
|
|
overridevirtual |
Returns the latest depth frame of the Kinect.
- Returns
- std::shared_ptr<cv::Mat> Latest depth frame of the Kinect.
Implements HLR::Vision::ICupDetector.
std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_latest_ir_frame |
( |
| ) |
|
|
overridevirtual |
Returns the latest IR frame of the Kinect IR camera.
- Returns
- std::shared_ptr<cv::Mat> Latest IR frame of the Kinect IR camera.
Implements HLR::Vision::ICupDetector.
Deleted assignment operator.
- Parameters
-
cup_detector | object to assign |
- Returns
- CupDetector&
Deleted move assignment operator.
- Parameters
-
- Returns
- CupDetector&
The documentation for this class was generated from the following file: