Monocular Human Position Estimator
|
Go to the documentation of this file.
40 #include <opencv2/tracking.hpp>
41 #include "../include/Detector.hpp"
50 double avg_human_height;
54 double max_tracking_distance;
57 std::vector<cv::Scalar> colors;
58 std::vector<cv::Point3d> detected_humans;
59 std::vector<int> skipped_detections;
60 std::vector<cv::Rect2d> trackings;
61 std::vector<cv::Ptr<cv::Tracker>> trackers;
63 cv::Scalar get_color(
int);
HumanDetector(std::string)
Default Constructor for Human Detector class.
Definition: HumanDetector.cpp:42
std::vector< cv::Point3d > get_3d_positions()
Computes 3D position of detected humans by calculating the estimated distance between the object and ...
Definition: HumanDetector.cpp:87
bool show_output()
Displays colored bounding boxes on an image/video feed.
Definition: HumanDetector.cpp:192
std::vector< cv::Point3d > track_positions()
Tracks detected humans and assign ids.
Definition: HumanDetector.cpp:111
Definition: HumanDetector.hpp:44
Definition: Detector.hpp:49