-
Notifications
You must be signed in to change notification settings - Fork 480
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
关于SAM2中ID一致性的问题 #629
Comments
Hello, @Morgott-The-Omen-King, Thank you for your inquiry about SAM2 video annotation. The scenario you've described is indeed a common challenge in object tracking across frames. For this situation, may be we could consider implementing a sequential accumulator for object IDs. By adding the previous accumulated value to the ID after each reset, you can maintain a unique identifier for each object throughout the video sequence. For instance:
After the annotation process, you can easily relabel object0 as A, object1 and object2 as B, and object3 as C via label_manager. Best regards, |
感谢您的回复,我觉得这是一个很好的方式,但我认为主要的原因是 X-AnyLabeling/anylabeling/services/auto_labeling/segment_anything_2_video.py Lines 354 to 360 in 5f13574
我们在外面设置的label会被上面的代码覆盖,label的text只会受到sam2中tracklet顺序的影响,就如你所说的,为什么不复用我们完成目标时设置的label呢 |
请问一下,有没有交流群 |
Yes, first of all, thank you very much for your feedback and suggestions. Regarding the issue you mentioned about the code overriding externally set labels, it is indeed due to the current framework design. Currently, X-AnyLabeling does not provide a direct and simple mechanism to obtain or pass the label information set by users externally, which has led to these pieces of information being overwritten during the "internal processing." We will optimize this issue when we have time in the future. If you wish to join the communication group, you can add the WeChat ID: |
@Morgott-The-Omen-King, Hello there! I'm thrilled to let you know that the most recent update has introduced support for custom labels and track IDs. Make sure to perform a Should you require any additional help, don't hesitate to get in touch. Enjoy the new features! 😄 111.mp4 |
Search before asking
Question
您好~
我在使用SAM2进行视频目标标注,我遇到其中一种情况不知道怎么解决:
上面这种是做法似乎会导致目标B的object id变为object0,请问有没有什么解决方法?
非常感谢~~
Additional
No response
The text was updated successfully, but these errors were encountered: