Lens AI Profiler Cpp
Public Member Functions | List of all members
TrackerProfile Class Reference

Class responsible for managing and logging tracking-related statistics. More...

#include <trackerprofile.h>

Public Member Functions

 TrackerProfile (std::string conf_path, int save_interval)
 Constructor to initialize the TrackerProfile object. More...
 
 ~TrackerProfile ()
 Destructor to clean up resources.
 
void log_detection_confidence (float confidence)
 Log detection confidence to the confidence sketch. More...
 
void log_track_length (int length)
 Log track length to the track length sketch. More...
 
void log_iou (float iou)
 Log IoU to the IoU sketch. More...
 

Detailed Description

Class responsible for managing and logging tracking-related statistics.

Constructor & Destructor Documentation

◆ TrackerProfile()

TrackerProfile::TrackerProfile ( std::string  conf_path,
int  save_interval 
)

Constructor to initialize the TrackerProfile object.

Parameters
conf_pathPath to the configuration file.
save_intervalInterval at which data is saved.

Member Function Documentation

◆ log_detection_confidence()

void TrackerProfile::log_detection_confidence ( float  confidence)

Log detection confidence to the confidence sketch.

Parameters
confidenceDetection confidence to be logged.

◆ log_iou()

void TrackerProfile::log_iou ( float  iou)

Log IoU to the IoU sketch.

Parameters
iouIoU value to be logged.

◆ log_track_length()

void TrackerProfile::log_track_length ( int  length)

Log track length to the track length sketch.

Parameters
lengthLength of the track to be logged.

The documentation for this class was generated from the following files: