18 #ifndef RAPP_HUMAN_DETECTOR_NODE
19 #define RAPP_HUMAN_DETECTOR_NODE
23 #include <opencv2/core/core.hpp>
24 #include <opencv2/highgui/highgui.hpp>
25 #include <opencv2/objdetect/objdetect.hpp>
26 #include <opencv2/imgproc/imgproc.hpp>
27 #include <opencv2/ml/ml.hpp>
28 #include "opencv2/objdetect/objdetect.hpp"
57 std::vector<cv::Rect>
findHuman2D(std::string file_name);
65 std::vector<cv::Rect>
detectHuman2D(
const cv::Mat& input_img);
77 const std::string& haar_path);
87 const std::vector<cv::Rect> pedestrianVector,
88 const std::vector<cv::Rect> upperbodyVector);
Class that implements a human detection algorithm based on a Haar cascade classifier.
std::vector< cv::Rect > findHuman2D(std::string file_name)
Finds humans in an image retrieved from a file URL.
std::vector< cv::Rect > identifyUniqueHumans(const std::vector< cv::Rect > pedestrianVector, const std::vector< cv::Rect > upperbodyVector)
Identify unique humans from two sets of humans.
std::vector< cv::Rect > detectHuman2D(const cv::Mat &input_img)
Detects humans from a cv::Mat.
cv::Mat loadImage(std::string file_name)
Loads an image from a file URL.
HumanDetector(void)
Default constructor.