Live Streaming Video Chat App without voice using CV2

OpenCV is a library of programming functions mainly aimed at real-time computer vision.It can be used to do various operations like making a love streaming video chat app. Before knowing how we can do that we should know what is socket programming.

Jainsiddhant

--

Socket Programming

Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while other socket reaches out to the other to form a connection. Server forms the listener socket while client reaches out to the server.

Diagram of server and client model

Now after getting a small introduction about socket programming let see how we can use socket programming and CV2 to make a live streaming video app. For this I wrote two codes in Jupyter Notebook one as server.py which on running act as server and one is client.py which act as client. Once both the code a connection is establish between server and client node and the video can be transfer from one node to other,

Client.py
Server.py
Final Output

Open for any Queries and Suggestions .

Thank you

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response