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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Yongqiang Cheng

梦想不是浮躁,而是沉淀和积累。

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值