Deep SORT - deep_sort

Deep SORT - deep_sort

https://github.com/nwojke/deep_sort

Simple Online and Realtime Tracking with a Deep Association Metric,Deep SORT
Simple Online and Realtime Tracking,SORT

1. deep_sort/track.py

Enumeration type for the single target track state. Newly created tracks are classified as tentative until enough evidence has been collected. Then, the track state is changed to confirmed. Tracks that are no longer alive are classified as deleted to mark them for removal from the set of active tracks.
单个目标跟踪状态的枚举类型。新创建的跟踪轨迹被归类为暂定,直到收集到足够的证据后,将跟踪状态更改为已确认。不再存在的跟踪轨迹被分类为已删除,以将其标记为从活动跟踪轨迹集中删除。

Tentative = 1
Confirmed = 2
Deleted = 3
enumeration [ɪˌnjuːməˈreɪʃn]:n. 列举,计算,细目
tentative [ˈtentətɪv]:adj. 试验性的,暂定的,踌躇的 n. 假设,试验
confirm [kənˈfɜːm]:vt. 确认,确定,证实,批准,使巩固

track_id : int
A unique track identifier.

max_age : int
The maximum number of consecutive misses before the track state is set to Deleted.
在将跟踪状态设置为已删除之前,连续丢失的最大次数。

time_since_update : int
Total number of frames since last measurement update.
自上次 measurement 更新以来的总帧数。

    def mark_missed(self):
        """Mark this track as missed (no association at the current time step).
        """
        if self.state == TrackState.Tentative:
            self.state = TrackState.Deleted
        elif self.time_since_update > self._max_age:
            self.state = TrackState.Deleted

    def is_tentative(self):
        """Returns True if this track is tentative (unconfirmed).
        """
        return self.state == TrackState.Tentative

    def is_confirmed(self):
        """Returns True if this track is confirmed."""
        return self.state == TrackState.Confirmed

    def is_deleted(self):
        """Returns True if this track is dead and should be deleted."""
        return self.state == TrackState.Deleted

你可能感兴趣的:(object,tracking,-,目标跟踪)