#include <opencv2/tracking/tracker.hpp>
Implementation of the target state for TrackerStateEstimatorMILBoosting
cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::TrackerMILTargetState |
( |
const Point2f & |
position, |
|
|
int |
width, |
|
|
int |
height, |
|
|
bool |
foreground, |
|
|
const Mat & |
features |
|
) |
| |
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 |
features | features extracted |
cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::~TrackerMILTargetState |
( |
| ) |
|
|
inline |
Mat cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::getFeatures |
( |
| ) |
const |
Get the features extracted.
bool cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::isTargetFg |
( |
| ) |
const |
Get the label. Return true for target foreground, false for background.
void cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::setFeatures |
( |
const Mat & |
features | ) |
|
Set the features extracted from TrackerFeatureSet.
- Parameters
-
features | The features extracted |
void cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::setTargetFg |
( |
bool |
foreground | ) |
|
Set label: true for target foreground, false for background.
- Parameters
-
foreground | Label for background/foreground |
The documentation for this class was generated from the following file: