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: stream images from video in realtime #5187
Comments
Maybe the same approach as #5077 can be used |
Yup I agree, @aliabid94 would you be able to see if there's something similar we can implement for streaming a Video? |
We could definitely have streaming video, but frame by frame will probably always be laggy - you'd ideally returns a chunk of video content. Would that work for you @tonydavis629? I can go ahead and implement streaming video, where you yield chunks of video content. If you really wanted to, your video content could just be a single frame I suppose, though I'd bet this would be quite slow. |
Hey guys, do you have any update regarding webcam stream?
Do you have any suggestions in this regard? |
Have you made any progress on this? |
This would be highly useful. Just wondering is there any plan to add this feature? Currently I am doing a robot project, and trying to display the ros node output to the gradio image component. But it cannot be done in real-time or a streaming fashion. |
@abidlabs or @aliabid94 any update on this would be really helpful, as I too want to run inference for a livestream of video feed coming in. |
Working on this now @raghavduddala |
Is your feature request related to a problem? Please describe.
It is not possible to stream images from a video in real time with gradio. I want to be able to upload a video, process a frame, and return the frame in real time. Currently Interface does not return images in real time, no matter how fast your iterative output is, it's probably at 2 or 3 frames per second.
Minimal example:
Describe the solution you'd like
When running this example, there should be a way to specify the frame rate returned by the Interface.
Additional context
#1637
The text was updated successfully, but these errors were encountered: