Back to Jetson Inference

Jetson Inference: detectNet::Detection Struct Reference

docs/html/structdetectNet_1_1Detection.html

latest5.3 KB
Original Source

| | Jetson Inference

DNN Vision Library |

Public Member Functions | Public Attributes | List of all members

detectNet::Detection Struct Reference

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...
| | |

Detailed Description

Object Detection result.

Constructor & Destructor Documentation

Detection()

|

| detectNet::Detection::Detection | ( | | ) | |

| inline |

Member Function Documentation

IOU()

|

| float detectNet::Detection::IOU | ( | float | x1, | | | | float | y1, | | | | float | x2, | | | | float | y2 | | | ) | | const |

| inline |

Return true if the bounding boxes overlap.

Member Data Documentation

Bottom

| float detectNet::Detection::Bottom |

Bottom bounding box coordinate (in pixels)

Calculate the width of the object

ClassID

| uint32_t detectNet::Detection::ClassID |

Class index of the detected object.

Confidence

| float detectNet::Detection::Confidence |

Confidence value of the detected object.

Left

| float detectNet::Detection::Left |

Left bounding box coordinate (in pixels)

Right

| float detectNet::Detection::Right |

Right bounding box coordinate (in pixels)

Top

| float detectNet::Detection::Top |

Top bounding box cooridnate (in pixels)

TrackFrames

| int detectNet::Detection::TrackFrames |

The number of frames the object has been re-identified for.

TrackID

| int detectNet::Detection::TrackID |

Unique tracking ID (or -1 if untracked)

TrackLost

| int detectNet::Detection::TrackLost |

The number of consecutive frames tracking has been lost for.

TrackStatus

| int detectNet::Detection::TrackStatus |

-1 for dropped, 0 for initializing, 1 for active/valid


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