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

Feature Request: Multi-Object Inference Script #107

Open
zakroum-hicham opened this issue Feb 18, 2025 · 1 comment
Open

Feature Request: Multi-Object Inference Script #107

zakroum-hicham opened this issue Feb 18, 2025 · 1 comment

Comments

@zakroum-hicham
Copy link

Hello,

First of all, thank you for sharing this incredible work on SAMURAI! It’s an impressive adaptation of the Segment Anything Model (SAM) for zero-shot visual tracking, and I’m excited to explore its capabilities further.

I’m reaching out to request a feature that would be incredibly useful for many users: a multi-object inference script. Currently, the repository provides excellent support for single-object tracking, but many real-world applications require tracking multiple objects simultaneously in the same video.

Questions

  • Is multi-object tracking something that could be supported by the current architecture of SAMURAI?
  • If so, would you consider adding a multi-object inference script to the repository?
  • If this is outside the scope of the current project, could you provide guidance on how to modify the existing code to support multi-object tracking?

I’d be happy to assist with testing or even contributing to the implementation if needed. Thank you again for your work on this project, and I look forward to hearing your thoughts!

@yangchris11
Copy link
Owner

You can check following issues #3 #61 #101.

A multi-object inference script will require some engineering effort to be made on top of any sam-based tracking/segmentation framework including:
(1) Tracklet/Masklet management (e.g., handling newborn, disappearing, re-entry of the objects)
(2) Association problem (e.g., many-to-one matching)

One possible reference you can refer to is https://github.com/IDEA-Research/Grounded-SAM-2?tab=readme-ov-file#grounded-sam-2-video-object-tracking-with-continuous-id-with-grounding-dino.

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

2 participants