How to run the same model for multiple cameras at the same time and show only one cv2 window

Hello, I come to ask this question because I have already done many tests without a good result.

The problem is that I am trying to run a model trained with roboflow using inference for at least 10 different cameras or rtsp at a time. When I tested it with only a camera or rtsp it works great, but when I try to make code that allows me to run many instances at the same time it becomes complicated and doesn’t work well. I don’t think it’s a PC performance issue because I ran the 12 instances in separate files and it works, but if I try to run everything together in a single Python file to show the object detection all together in a single cv2 window that’s where I have problems . Do you know if there is already a way to do this with roboflow?

I hope you can help me, have a good day

Hello! We do not currently support multiple streams with Roboflow Inference. I have shared this feedback with our Engineering team and will be sure to let you know when we add this capability.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.