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 add, delete, update stream realtime for only one pipeline has been run before? #362

Open
1 task done
nmditai opened this issue Apr 20, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request question Further information is requested

Comments

@nmditai
Copy link

nmditai commented Apr 20, 2024

Search before asking

  • I have searched the Inference issues and found no similar feature requests.

Question

Hello everyone,
I'm very interested in Roboflow Inference. I'm wondering, with the current InferencePipeline, is it possible to add, edit, and delete the number of inputs for just one pipeline?
For example, AI Model has a max_batch_size of 8
Initially I initialize:
pipeline = InferencePipeline(...) with only one RTSP stream
pipeline.start()

Can I add an RTSP stream to the pipeline running above? For example:
pipeline.add_stream("rtsp://...")
Does adding not affect previously running threads?

Can anyone help me answer if InferencePipeline currently has the ability to do that?
And in your opinion, add_stream to a running pipeline is better than having multiple copies of the pipeline running at the same time?
Thank!

Additional

No response

@nmditai nmditai added the question Further information is requested label Apr 20, 2024
@PawelPeczek-Roboflow
Copy link
Collaborator

Hello there,
That's interesting feature, yet not supported at the moment.
Within the current structure of code that feature should be possible to be added - as we already dynamically manage steams on separate threads.
We will add that to our backlog, but we also have a lot of things we handle at the moment. That could be shipped faster if you decided to contribute - but that's totally up to you.

@PawelPeczek-Roboflow PawelPeczek-Roboflow added the enhancement New feature or request label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants