Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Webcam access with OpenCV and Websockets

I want to access client web camera in my server with HTML5 getUserMedia process video stream with OpenCV& python and return processed video to a client in real time.

As I understand I need client side (HTML5 getUserMedia) and server side (OpenCV), communicate them with WebSockets. From client send encode frames in base64 send them via WebSockets to OpenCV and process them, when how to send results back to client side?

I am looking for example for a while, can someone guide me in right direction how to do it? Thanks!