Implementation of the target state for TrackerAdaBoostingTargetState.
More...
#include <opencv2/tracking/tracker.hpp>
Implementation of the target state for TrackerAdaBoostingTargetState.
cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::TrackerAdaBoostingTargetState |
( |
const Point2f & |
position, |
|
|
int |
width, |
|
|
int |
height, |
|
|
bool |
foreground, |
|
|
const Mat & |
responses |
|
) |
| |
Constructor.
- Parameters
-
position | Top left corner of the bounding box |
width | Width of the bounding box |
height | Height of the bounding box |
foreground | label for target or background |
responses | list of features |
cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::~TrackerAdaBoostingTargetState |
( |
| ) |
|
|
inline |
Mat cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::getTargetResponses |
( |
| ) |
const |
Get the features extracted.
bool cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::isTargetFg |
( |
| ) |
const |
Get the label. Return true for target foreground, false for background.
void cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetFg |
( |
bool |
foreground | ) |
|
Set label: true for target foreground, false for background.
- Parameters
-
foreground | Label for background/foreground |
void cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetResponses |
( |
const Mat & |
responses | ) |
|
Set the features extracted from TrackerFeatureSet.
- Parameters
-
responses | The features extracted |
The documentation for this class was generated from the following file: