Public Member Functions | Public Attributes
deep_sort.detection.Detection Class Reference
Inheritance diagram for deep_sort.detection.Detection:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def to_tlbr
def to_xyah

Public Attributes

 confidence
 feature
 tlwh

Detailed Description

This class represents a bounding box detection in a single image.

Parameters
----------
tlwh : array_like
    Bounding box in format `(x, y, w, h)`.
confidence : float
    Detector confidence score.
feature : array_like
    A feature vector that describes the object contained in this image.

Attributes
----------
tlwh : ndarray
    Bounding box in format `(top left x, top left y, width, height)`.
confidence : ndarray
    Detector confidence score.
feature : ndarray | NoneType
    A feature vector that describes the object contained in this image.

Definition at line 5 of file detection.py.


Constructor & Destructor Documentation

def deep_sort.detection.Detection.__init__ (   self,
  tlwh,
  confidence,
  feature 
)

Definition at line 29 of file detection.py.


Member Function Documentation

Convert bounding box to format `(min x, min y, max x, max y)`, i.e.,
`(top left, bottom right)`.

Definition at line 34 of file detection.py.

Convert bounding box to format `(center x, center y, aspect ratio,
height)`, where the aspect ratio is `width / height`.

Definition at line 42 of file detection.py.


Member Data Documentation

Definition at line 29 of file detection.py.

Definition at line 29 of file detection.py.

Definition at line 29 of file detection.py.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08