Back to Jetson Inference

Jetson Inference: objectTracker Class Reference

docs/html/classobjectTracker.html

latest9.6 KB
Original Source

| | Jetson Inference

DNN Vision Library |

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

objectTracker Class Referenceabstract

Object tracker interface. More...

#include <objectTracker.h>

Inheritance diagram for objectTracker:

|

Public Types

| | enum | Type { NONE, IOU, KLT } | | | Tracker type enum. More...
| | |

|

Public Member Functions

| | virtual | ~objectTracker () | | | Destructor. More...
| | | | template<typename T > | | int | Process (T *image, uint32_t width, uint32_t height, detectNet::Detection *detections, int numDetections) | | | Process. More...
| | | | virtual int | Process (void *image, uint32_t width, uint32_t height, imageFormat format, detectNet::Detection *detections, int numDetections)=0 | | | Process. More...
| | | | bool | IsEnabled () const | | | IsEnabled. More...
| | | | virtual void | SetEnabled (bool enabled) | | | SetEnabled. More...
| | | | virtual Type | GetType () const =0 | | | GetType. More...
| | | | bool | IsType (Type type) const | | | IsType. More...
| | |

|

Static Public Member Functions

| | static objectTracker * | Create (Type type) | | | Create a new object tracker. More...
| | | | static objectTracker * | Create (int argc, char **argv) | | | Create a new object tracker by parsing the command line. More...
| | | | static objectTracker * | Create (const commandLine &cmdLine) | | | Load a new network instance by parsing the command line. More...
| | | | static const char * | Usage () | | | Usage string for command line arguments to Create()More...
| | | | static const char * | TypeToStr (Type type) | | | Convert a Type enum to string. More...
| | | | static Type | TypeFromStr (const char *str) | | | Parse a Type enum from a string. More...
| | |

|

Protected Member Functions

| | | objectTracker () | | |

|

Protected Attributes

| | bool | mEnabled | | |

Detailed Description

Object tracker interface.

Member Enumeration Documentation

Type

| enum objectTracker::Type |

Tracker type enum.

Enumerator
NONE

Tracking disabled.

| | IOU |

Intersection-Over-Union (IOU) tracker.

| | KLT |

KLT tracker (only available with VPI)

|

Constructor & Destructor Documentation

~objectTracker()

|

| virtual objectTracker::~objectTracker | ( | | ) | |

| virtual |

Destructor.

objectTracker()

|

| objectTracker::objectTracker | ( | | ) | |

| protected |

Member Function Documentation

Create() [1/3]

|

| static objectTracker* objectTracker::Create | ( | const commandLine & | cmdLine | ) | |

| static |

Load a new network instance by parsing the command line.

Create() [2/3]

|

| static objectTracker* objectTracker::Create | ( | int | argc, | | | | char ** | argv | | | ) | | |

| static |

Create a new object tracker by parsing the command line.

Create() [3/3]

|

| static objectTracker* objectTracker::Create | ( | Type | type | ) | |

| static |

Create a new object tracker.

GetType()

|

| virtual Type objectTracker::GetType | ( | | ) | const |

| pure virtual |

GetType.

Implemented in objectTrackerIOU.

IsEnabled()

|

| bool objectTracker::IsEnabled | ( | | ) | const |

| inline |

IsEnabled.

IsType()

|

| bool objectTracker::IsType | ( | Type | type | ) | const |

| inline |

IsType.

Process() [1/2]

template<typename T >

|

| int objectTracker::Process | ( | T * | image, | | | | uint32_t | width, | | | | uint32_t | height, | | | | detectNet::Detection * | detections, | | | | int | numDetections | | | ) | | |

| inline |

Process.

Process() [2/2]

|

| virtual int objectTracker::Process | ( | void * | image, | | | | uint32_t | width, | | | | uint32_t | height, | | | | imageFormat | format, | | | | detectNet::Detection * | detections, | | | | int | numDetections | | | ) | | |

| pure virtual |

Process.

Implemented in objectTrackerIOU.

SetEnabled()

|

| virtual void objectTracker::SetEnabled | ( | bool | enabled | ) | |

| inlinevirtual |

SetEnabled.

TypeFromStr()

|

| static Type objectTracker::TypeFromStr | ( | const char * | str | ) | |

| static |

Parse a Type enum from a string.

TypeToStr()

|

| static const char* objectTracker::TypeToStr | ( | Type | type | ) | |

| static |

Convert a Type enum to string.

Usage()

|

| static const char* objectTracker::Usage | ( | | ) | |

| inlinestatic |

Usage string for command line arguments to Create()

Member Data Documentation

mEnabled

|

| bool objectTracker::mEnabled |

| protected |


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