Create Live Streaming Video Chat App without voice using cv2 module of Python.

Shashwat Gaur
2 min readJun 12, 2021

--

In this blog, we will be developing a live streaming video chat app using Open CV. Here we would use socket programming and TCP.

To begin with we need to have a server and a client and need to establish a connection between them. For this the necessities are the IP address and the port number to which the data would be fed.

Below are the two files “server” and “client”:

For establishing the connection:

Server-

Client -

Now we will use open cv integrated with socket programming. Firstly we create the code for running a video, and then use pickle module for the conversion of bytes to string and vice versa on the receiving and sending ends respectively. The functions are pickle.dumps() and pickle.loads().

Server-

Client-

Now run the code in your notebooks and the live video stream app is ready !

Thanks!!

--

--

Shashwat Gaur
Shashwat Gaur

Written by Shashwat Gaur

0 Followers

A tech enthusiast and an aspirer, aiming to olve real life problems, looking forward with a collaborative mindset. Planning to put the skills to best use.

No responses yet