Running Multiple Object Detection Scripts Simultaneously

Hi,

is it possible to run multiple object detection scripts simultaneously? I mean to set up, for example, API servers on an RPI for different recognition models, like one API for model1 detections, another API for model2 detections, and so on. Then, run them all in the background and manage them separately.
The reason I’m asking is that when I try to run more than one detection script at a time, I get an error about the Hailo devices being in use. Maybe I’m using the wrong terminology, but I hope you understand the situation.

Thanks!

Hi @DimaR,

For running multiple models we have something called model scheduler. You can see how it can be used with Python here.

As you can see in the example, the same VDevice(params) needs to be used for the different models. This means that the scripts for inference can’t be completely separate, they would have to have a common target.