|
virtual std::vector< cv::Rect > | Detect (cv::Mat *frame)=0 |
|
virtual std::vector< cv::Rect > | DetectInROI (cv::Mat *frame, std::vector< cv::Rect > *rois)=0 |
|
virtual std::vector<cv::Rect> Detector::Detect |
( |
cv::Mat * |
frame | ) |
|
|
pure virtual |
virtual std::vector<cv::Rect> Detector::DetectInROI |
( |
cv::Mat * |
frame, |
|
|
std::vector< cv::Rect > * |
rois |
|
) |
| |
|
pure virtual |
Detects objects in the given frame (cv::Mat) only in the ROIs. Must be overwritten in subclass.
- Parameters
-
frame | The current frame |
frame | The rois |
- Returns
- The vector of all detected objects in the current Frame
Implemented in CascadeHaarDetector, DaimlerPeopleDetector, and HOGPeopleDetector.
The documentation for this class was generated from the following file: