Raspberries Pi "streaming" webcam frames to Max over network ?

Julien Bayle's icon

Hi there,

Multiple Raspberry, each one linked to a cam.
A network.
A computer running a Max patch.

I'd need to send frames from my Rasps to Max and this latter would process each matrix and do some OPENCV on them.
Ideally, I'm thinking about building a piece of code on Rasps' side to grab frame and to send them as jitter format matrices (thinking about something that could be directly received by [jit.net.recv]

Any idea would be appreciated to check out.

Rob Ramirez's icon

my first suggestion would be to look into NDI, possibly using something like this - https://github.com/raspberry-pi-camera/raspindi

Julien Bayle's icon

Thanks Rob.
I'm rusty on the grabbing video side of things.

jit.ndi seems pretty solid as far as iI read.

dwingus's icon

Oh yeah!! NDI rules and i didn't realize jit.ndi was a thing and haven't tried the raspindi option either. this is good news. Thanks! when i get some time i'll probably check this out and can report back