![]()  | 
  
    Jetson Inference
    
   DNN Vision Library 
   | 
 
Object tracking used by detectNet. More...
Classes | |
| class | objectTracker | 
| Object tracker interface.  More... | |
| class | objectTrackerIOU | 
| Object tracker using Intersection-Over-Union (IOU)  More... | |
Macros | |
| #define | OBJECT_TRACKER_USAGE_STRING | 
| Standard command-line options able to be passed to detectNet::Create()  More... | |
| #define | LOG_TRACKER "[tracker] " | 
| Object tracker logging prefix.  More... | |
| #define | OBJECT_TRACKER_DEFAULT_MIN_FRAMES 3 | 
| The number of re-identified frames before establishing a track.  More... | |
| #define | OBJECT_TRACKER_DEFAULT_DROP_FRAMES 15 | 
| The number of consecutive lost frames after which a track is removed.  More... | |
Object tracking used by detectNet.
| class objectTracker | 
Object tracker interface.
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 | 
| enum objectTracker::Type | 
      
  | 
  virtual | 
Destructor.
      
  | 
  protected | 
      
  | 
  static | 
Load a new network instance by parsing the command line.
      
  | 
  static | 
Create a new object tracker by parsing the command line.
      
  | 
  static | 
Create a new object tracker.
      
  | 
  pure virtual | 
GetType.
Implemented in objectTrackerIOU.
      
  | 
  inline | 
IsEnabled.
      
  | 
  inline | 
IsType.
      
  | 
  inline | 
      
  | 
  pure virtual | 
Implemented in objectTrackerIOU.
      
  | 
  inlinevirtual | 
SetEnabled.
      
  | 
  static | 
Parse a Type enum from a string.
      
  | 
  static | 
Convert a Type enum to string.
      
  | 
  inlinestatic | 
Usage string for command line arguments to Create()
      
  | 
  protected | 
| class objectTrackerIOU | 
Object tracker using Intersection-Over-Union (IOU)
"High-Speed Tracking-by-Detection Without Using Image Information" http://elvera.nue.tu-berlin.de/files/1517Bochinski2017.pdf
This tracker essentially performs temporal clustering of bounding boxes without using visual information, hence it is very fast but low accuracy.
Public Member Functions | |
| virtual | ~objectTrackerIOU () | 
| Destroy.  More... | |
| uint32_t | GetMinFrames () const | 
| The number of re-identified frames before before establishing a track.  More... | |
| void | SetMinFrames (uint32_t frames) | 
| Set the number of re-identified frames before before establishing a track.  More... | |
| uint32_t | GetDropFrames () const | 
| The number of consecutive lost frames after which a track is removed.  More... | |
| void | SetDropFrames (uint32_t frames) | 
| Set the number of consecutive lost frames after which a track is removed.  More... | |
| float | GetOverlapThreshold () const | 
| How much IOU overlap is required for a bounding box to be matched.  More... | |
| void | SetOverlapThreshold (float threshold) | 
| Set how much IOU overlap is required for a bounding box to be matched.  More... | |
| virtual Type | GetType () const | 
| virtual int | Process (void *image, uint32_t width, uint32_t height, imageFormat format, detectNet::Detection *detections, int numDetections) | 
  Public Member Functions inherited from objectTracker | |
| virtual | ~objectTracker () | 
| Destructor.  More... | |
| template<typename T > | |
| int | Process (T *image, uint32_t width, uint32_t height, detectNet::Detection *detections, int numDetections) | 
| Process.  More... | |
| bool | IsEnabled () const | 
| IsEnabled.  More... | |
| virtual void | SetEnabled (bool enabled) | 
| SetEnabled.  More... | |
| bool | IsType (Type type) const | 
| IsType.  More... | |
Static Public Member Functions | |
| static objectTrackerIOU * | Create (uint32_t minFrames=OBJECT_TRACKER_DEFAULT_MIN_FRAMES, uint32_t dropFrames=OBJECT_TRACKER_DEFAULT_DROP_FRAMES, float overlapThreshold=OBJECT_TRACKER_DEFAULT_OVERLAP_THRESHOLD) | 
| Create a new object tracker.  More... | |
| static objectTrackerIOU * | Create (int argc, char **argv) | 
| Create a new object tracker by parsing the command line.  More... | |
| static objectTrackerIOU * | Create (const commandLine &cmdLine) | 
| Load a new network instance by parsing the command line.  More... | |
  Static Public Member Functions inherited from objectTracker | |
| 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 | |
| objectTrackerIOU (uint32_t minFrames, uint32_t dropFrames, float overlapThreshold) | |
  Protected Member Functions inherited from objectTracker | |
| objectTracker () | |
Protected Attributes | |
| uint32_t | mIDCount | 
| uint64_t | mFrameCount | 
| uint32_t | mMinFrames | 
| uint32_t | mDropFrames | 
| float | mOverlapThreshold | 
| std::vector< detectNet::Detection > | mTracks | 
  Protected Attributes inherited from objectTracker | |
| bool | mEnabled | 
Additional Inherited Members | |
  Public Types inherited from objectTracker | |
| enum | Type { NONE, IOU, KLT } | 
| Tracker type enum.  More... | |
      
  | 
  virtual | 
Destroy.
      
  | 
  protected | 
      
  | 
  static | 
Load a new network instance by parsing the command line.
      
  | 
  static | 
Create a new object tracker by parsing the command line.
      
  | 
  static | 
Create a new object tracker.
| minFrames | the number of re-identified frames before before establishing a track | 
| dropFrames | the number of consecutive lost frames after which a track is removed | 
      
  | 
  inline | 
The number of consecutive lost frames after which a track is removed.
      
  | 
  inline | 
The number of re-identified frames before before establishing a track.
      
  | 
  inline | 
How much IOU overlap is required for a bounding box to be matched.
      
  | 
  inlinevirtual | 
Implements objectTracker.
      
  | 
  virtual | 
Implements objectTracker.
      
  | 
  inline | 
Set the number of consecutive lost frames after which a track is removed.
      
  | 
  inline | 
Set the number of re-identified frames before before establishing a track.
      
  | 
  inline | 
Set how much IOU overlap is required for a bounding box to be matched.
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
| #define LOG_TRACKER "[tracker] " | 
Object tracker logging prefix.
| #define OBJECT_TRACKER_DEFAULT_DROP_FRAMES 15 | 
The number of consecutive lost frames after which a track is removed.
| #define OBJECT_TRACKER_DEFAULT_MIN_FRAMES 3 | 
The number of re-identified frames before establishing a track.
| #define OBJECT_TRACKER_USAGE_STRING | 
Standard command-line options able to be passed to detectNet::Create()