Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何实现,新物体出现时,idx递增 #160

Open
jiangSeu opened this issue Jun 13, 2024 · 0 comments
Open

如何实现,新物体出现时,idx递增 #160

jiangSeu opened this issue Jun 13, 2024 · 0 comments

Comments

@jiangSeu
Copy link

When a new object appears, the object's ID has some issues. For example, when (frame_idx % sam_gap) == 0, the ID assigned to the newly detected object is the same as the last ID used previously. I have already solved this issue myself, but, I want to achieve that when a new object appears, the ID keeps increasing rather than being assigned the ID of a previously disappeared object. How can I implement this?

(当新物体出现时,物体的id有点问题,例如当(frame_idx % sam_gap) == 0时,检测到的新物体的id,赋予的值是之前最后的id。这个问题我自己已经解决,但是目前想实现,当新的物体出现时,idx一直递增,而不是赋予前面追踪消失的idx,请问怎么实现)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant