Jetson Inference
DNN Vision Library
|
Object Detection result. More...
#include <detectNet.h>
Public Member Functions | |
float | IOU (float x1, float y1, float x2, float y2) const |
Return true if the bounding boxes overlap. More... | |
Detection () | |
Public Attributes | |
uint32_t | ClassID |
Class index of the detected object. More... | |
float | Confidence |
Confidence value of the detected object. More... | |
int | TrackID |
Unique tracking ID (or -1 if untracked) More... | |
int | TrackStatus |
-1 for dropped, 0 for initializing, 1 for active/valid More... | |
int | TrackFrames |
The number of frames the object has been re-identified for. More... | |
int | TrackLost |
The number of consecutive frames tracking has been lost for. More... | |
float | Left |
Left bounding box coordinate (in pixels) More... | |
float | Right |
Right bounding box coordinate (in pixels) More... | |
float | Top |
Top bounding box cooridnate (in pixels) More... | |
float | Bottom |
Bottom bounding box coordinate (in pixels) More... | |
Object Detection result.
|
inline |
|
inline |
Return true if the bounding boxes overlap.
float detectNet::Detection::Bottom |
Bottom bounding box coordinate (in pixels)
Calculate the width of the object
uint32_t detectNet::Detection::ClassID |
Class index of the detected object.
float detectNet::Detection::Confidence |
Confidence value of the detected object.
float detectNet::Detection::Left |
Left bounding box coordinate (in pixels)
float detectNet::Detection::Right |
Right bounding box coordinate (in pixels)
float detectNet::Detection::Top |
Top bounding box cooridnate (in pixels)
int detectNet::Detection::TrackFrames |
The number of frames the object has been re-identified for.
int detectNet::Detection::TrackID |
Unique tracking ID (or -1 if untracked)
int detectNet::Detection::TrackLost |
The number of consecutive frames tracking has been lost for.
int detectNet::Detection::TrackStatus |
-1 for dropped, 0 for initializing, 1 for active/valid