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

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

what is OpenCV

OpenCV-Python is?a library of Python bindings designed to solve computer vision problems. ... OpenCV-Python makes use of Numpy, which is a highly optimized library for numerical operations with a MATLAB-style syntax. All the OpenCV array structures are converted to and from Numpy arrays.?????

Socket Programming in Python

No alt text provided for this image

Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents.

Sockets may be implemented over a number of different channel types: Unix domain sockets, TCP, UDP, and so on. The?socket?library provides specific classes?for handling the common transports as well as a generic interface for handling the rest.

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM        

Here we made a socket instance and passed it two parameters. The first parameter is?AF_INET?and the second one is?SOCK_STREAM. AF_INET refers to the address-family ipv4. The SOCK_STREAM means connection-oriented TCP protocol.

1. What is a Network Socket?

A?socket?is one endpoint of a?two-way?communication link between two programs running on the network. The socket mechanism provides a means of inter-process communication (IPC) by establishing named contact points between which the communication takes place.

There are two files in the Video Chat

client.py

No alt text provided for this image

server.py

No alt text provided for this image

Program is successfully run & output

No alt text provided for this image

Thank you!!!!



要查看或添加评论,请登录

Anurag Vashishth的更多文章

  • Fortify Your Docker Local Private Registry with SSL Authentication: A Path to Enhanced Security

    Fortify Your Docker Local Private Registry with SSL Authentication: A Path to Enhanced Security

    Hey Everyone, in our last article we setup the docker private registry, Now it's time to see how we can make the…

    1 条评论
  • Docker Private Registry Setup

    Docker Private Registry Setup

    What is Registry? The Registry is a stateless, highly scalable server side application that stores and lets you…

    6 条评论
  • create helm chart

    create helm chart

    Introduction to Kubernetes Helm Charts What is Helm? In simple terms, Helm is a package manager for Kubernetes. Helm is…

  • Creating Multi-Cloud setup of k8s cluster

    Creating Multi-Cloud setup of k8s cluster

    Nowadays, most applications are using Kubernetes for their deployments. Kubernetes cluster is generally deployed on the…

  • Auto-Detect Vehicle’s Number Plate Using Python

    Auto-Detect Vehicle’s Number Plate Using Python

    Task Description: → ?? In this task : ??Create a model that will detect a car in a live stream or video and recognize…

  • create unique terraform module

    create unique terraform module

    Task Description ?? Create unique terraform modules and upload on public terraform registry What is Terraform?…

  • create a web menu using python-CGI And API integration

    create a web menu using python-CGI And API integration

    Task 9.2 Create a Web Menu Using Python-CGI and API integrating all the concepts that have been taught by Vimal sir…

  • integrating some of the important task

    integrating some of the important task

    In this article we will be integrating some of the very important task so Let' s begin Task Description #1- AWS *1*…

  • Aggregation framework and Map Reduce in Mongodb

    Aggregation framework and Map Reduce in Mongodb

    Task Description :- Use Aggression Framework of MongoDB and Create Mapper and Reducer Program. What is NoSQL ? NoSQL…

  • AWS SQS and Its Use-cases

    AWS SQS and Its Use-cases

    Task description : Create an article on case study of AWS SQS. When we start deploying multiple applications, they will…

社区洞察

其他会员也浏览了