Running inference on multiple camera

Hi there everyone, I wanted to know if I can run inference on multiple camera streams using hailo 8l. If there is a way where is it documented. I am currently using this repo to step by step build an application around the inference.can someone point me in the right direction.

Hi @Shashwat_Pandey

You can look at examples using DeGirum PySDK for this purpose. We recently published a guide on this topic: Hailo guide: Multi-model multi-stream inference with DeGirum PySDK and Hailo - Guides - DeGirum Community. Please see if it is helpful.

I wanted to ask if there is a way other than the third party sdks, I want to keep it as low level as possible, I am avoiding the dependencies to have a clean build from the foundation provided by hailo itself.

Hey @Shashwat_Pandey,

Yep, you can definitely run multiple streams!

Actually, we already have this built into the dev branch here: GitHub - hailo-ai/hailo-apps-infra

If you want to add it to your current example instead, the process is pretty straightforward - just add your second source to the code, then feed those frames into the same buffer you’re using for the first source. Once that’s set up, the inference will handle both streams.

Hope this helps!