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

Can I run it in video/real-time? #240

Closed
rkz98 opened this issue Apr 18, 2023 · 7 comments
Closed

Can I run it in video/real-time? #240

rkz98 opened this issue Apr 18, 2023 · 7 comments

Comments

@rkz98
Copy link

rkz98 commented Apr 18, 2023

Can I run it in video/real-time? Or just in images for now?

@rkz98
Copy link
Author

rkz98 commented Apr 18, 2023

@akashAD98
Copy link

@rkz98 you can run it on realtime /video also, first you need to detect the object, use object detector & pass that detected object frame by frame .

@RugnirViking
Copy link

I'd like to know this as well. dont care how small image or whatevre, just want it running real time. But right now for me swapping out the set image is taking 45 second no matter what size the image passed to it is

@bhack
Copy link

bhack commented Apr 21, 2023

@dakoner
Copy link

dakoner commented Apr 21, 2023

No, this cannot be run in real time (at least not more than about 5-10 FPS). Every video frame needs to have a heavyweight image feature detector run first, before the segmenter runs. Even on an A100, the feature detector takes some 150ms per image.

@hungtooc
Copy link

Yes, checkout https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once. they combine models together to solve problem

@MaureenZOU
Copy link

I haven't test the fps. this also depends on the gpu you are using. On one V100 gpu, a 20s video will take 20s to process in total. Something like this. The hugging face demo takes longer because of upload video.

@rkz98 rkz98 closed this as completed May 20, 2024
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

7 participants