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

Is there a way to have "samruai" do a sequence of images and frame-by-frame tracking? #75

Open
Cestovatels opened this issue Dec 12, 2024 · 1 comment

Comments

@Cestovatels
Copy link

Hello,

I am working on samruai. My goal is to label places on an image series with samruai. However, the original samruai can be given as frame to frame. Is it possible to do something in the same way here? Can I give it not as mp4 but as an image series and see the results from the 20th image to the 43rd image for example? So the first frame will be the 20th image and the last frame will be the 43rd image.
Is there any possibility that I can give the image here as a numpy array and not as a path?

@yangchris11
Copy link
Owner

It should be seemingless with SAM2 or SAMURAI of your mentioned functionality, the entry point you should be looking at is the sam2/sam2/sam2_video_predictor.py file (propagate_in_video()).

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