I'm trying to stream video over a websocket and process it server-side with Node.JS. The client is reading from a video file (.mp4) and sending it over the web socket via a stream object. However, I'm having trouble extracting frames from the stream at the server so it can be processed by opencv
.
Do I need to break the video up into frames and stream each individual frame? What format can opencv
most easily process in real time?
The end goal here is to enable opencv
to process each frame of a video (in real time) that is being received by the server. Think I'm having some trouble understanding the paradigm here.