ipywebrtc icon indicating copy to clipboard operation
ipywebrtc copied to clipboard

Use ipywebrtc to visualize a videostream from a Basler camera using pypylon

Open richardstardust opened this issue 2 years ago • 2 comments

Would it be possible to use ipywebrtc to visualize a videostream from a Basler camera using pypylon (https://github.com/basler/pypylon) in a Jupyter notebook ? If the answer is yes could you please share an example.

richardstardust avatar Apr 28 '22 07:04 richardstardust

I am not sure actually. It could go via the widget connection, but I don't think we can do that yet (no streaming supported now afaik). But via webrtc might work with https://github.com/aiortc/aiortc

maartenbreddels avatar Apr 28 '22 09:04 maartenbreddels

OK! Thank you! I thought there might be a way to send images (np.arrays) to it. Right now I have made a workaround using ipycanvas but ipywebrtc looks more suitable.

richardstardust avatar Apr 28 '22 09:04 richardstardust