/** * TrackerStateEstimatorMILBoosting::TrackerMILTargetState */ TrackerStateEstimatorMILBoosting::TrackerMILTargetState::TrackerMILTargetState( const Point2f& position, int width, int height, bool foreground, const Mat& features ) { setTargetPosition( position ); setTargetWidth( width ); setTargetHeight( height ); setTargetFg( foreground ); setFeatures( features ); }
/** * TrackerAdaBoostingTargetState::TrackerAdaBoostingTargetState */ TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::TrackerAdaBoostingTargetState( const Point2f& position, int width, int height, bool foreground, const Mat& responses ) { setTargetPosition( position ); setTargetWidth( width ); setTargetHeight( height ); setTargetFg( foreground ); setTargetResponses( responses ); }
void QchScreenShot::resetTargetWidth() { setTargetWidth(-1); }