OpenShot Library | libopenshot  0.4.0
Public Member Functions | Public Attributes | List of all members
TrackingBox Struct Reference

#include <sort_filter/sort.hpp>

Public Member Functions

 TrackingBox ()
 
 TrackingBox (int _frame, float _confidence, int _classId, int _id)
 

Public Attributes

cv::Rect_< float > box = cv::Rect_<float>(0.0, 0.0, 0.0, 0.0)
 
int classId = 0
 
float confidence = 0
 
int frame = 0
 
int id = 0
 

Detailed Description

Definition at line 21 of file sort.hpp.

Constructor & Destructor Documentation

◆ TrackingBox() [1/2]

TrackingBox::TrackingBox ( )
inline

Definition at line 28 of file sort.hpp.

◆ TrackingBox() [2/2]

TrackingBox::TrackingBox ( int  _frame,
float  _confidence,
int  _classId,
int  _id 
)
inline

Definition at line 29 of file sort.hpp.

Member Data Documentation

◆ box

cv::Rect_<float> TrackingBox::box = cv::Rect_<float>(0.0, 0.0, 0.0, 0.0)

Definition at line 27 of file sort.hpp.

Referenced by SortTracker::update().

◆ classId

int TrackingBox::classId = 0

Definition at line 25 of file sort.hpp.

Referenced by SortTracker::update().

◆ confidence

float TrackingBox::confidence = 0

Definition at line 24 of file sort.hpp.

Referenced by SortTracker::update().

◆ frame

int TrackingBox::frame = 0

Definition at line 23 of file sort.hpp.

Referenced by SortTracker::update().

◆ id

int TrackingBox::id = 0

Definition at line 26 of file sort.hpp.

Referenced by SortTracker::update().


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