facebookresearch / sam2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
12.01k stars 1.08k forks source link

Is there any functin that generate video which covered with mask? #171

Open aza1200 opened 2 months ago

aza1200 commented 2 months ago

I saw the code

Video_Precdictor_example.ipynb

That code's results show the image with masking but not video. Is there any Function that generate video with masking?

albertjo commented 2 months ago

Here's an example of stitching a video together: https://github.com/roboflow/notebooks/blob/main/notebooks/how-to-segment-videos-with-sam-2.ipynb

JunMa11 commented 2 months ago

Welcome to try this api https://huggingface.co/spaces/junma/MedSAM2

https://github.com/user-attachments/assets/54443682-c666-4ea6-aedf-85f59490e593

ShuoShenDe commented 2 months ago

Hi~Dear @aza1200 ,

In my repo, I write the function to generate video with masks.

Susan

OrangeSodahub commented 2 months ago

@ShuoShenDe Hi, could you point out which file you generate video with masks?