photonvision icon indicating copy to clipboard operation
photonvision copied to clipboard

Investigate/implement sending camera feeds over websockets

Open gerth2 opened this issue 3 years ago • 0 comments

https://nickhuber.ca/blog/python-opencv-camera-websockets has a reasonable pattern for how to do it

In java, ideally, set up one class to stream all camera data over a single, dedicated websocket port (independent of data stream)

Add javascript in UI to connect to that port and trigger frames to be sent for just the feeds needed, and paint the UI with any received frames.

gerth2 avatar Oct 22 '22 01:10 gerth2