| OpenCV 4.3.0 Open Source Computer Vision

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cv::DetectionBasedTracker::TrackedObject Struct Reference

`#include <opencv2/objdetect/detection_based_tracker.hpp>`

## Public Types
typedef std::vector< cv::Rect > | PositionsVector

## Public Member Functions
| TrackedObject (const cv::Rect &rect)

## Static Public Member Functions
static int | getNextId ()

## Public Attributes
int | id
PositionsVector | lastPositions
int | numDetectedFrames
int | numFramesNotDetected

## Member Typedef Documentation

## ◆ PositionsVector

typedef std::vector<cv::Rect> cv::DetectionBasedTracker::TrackedObject::PositionsVector

## Constructor & Destructor Documentation

## ◆ TrackedObject()

cv::DetectionBasedTracker::TrackedObject::TrackedObject | ( | const cv::Rect & | rect | ) |
| inline

## Member Function Documentation

## ◆ getNextId()

static int cv::DetectionBasedTracker::TrackedObject::getNextId | ( |  | ) |
| inline static

## Member Data Documentation

## ◆ id

int cv::DetectionBasedTracker::TrackedObject::id

## ◆ lastPositions

PositionsVector cv::DetectionBasedTracker::TrackedObject::lastPositions

## ◆ numDetectedFrames

int cv::DetectionBasedTracker::TrackedObject::numDetectedFrames

## ◆ numFramesNotDetected

int cv::DetectionBasedTracker::TrackedObject::numFramesNotDetected

The documentation for this struct was generated from the following file:

- opencv2/objdetect/detection_based_tracker.hpp