filmov
tv
Video Streaming over UDP with Python
Показать описание
This is a demo of a project I’ve put together. Video is streamed from the webcam on a laptop and is shown on a Raspberry Pi. Both computers are connected to the same Wifi network.
The code for the project was written in Python.
How it works:
OpenCV is used to grab a frame from a webcam. The frame is encoded as a jpeg to reduce its size. The encoded frame is sent to the Raspberry Pi over UDP sockets. The Client program on the Raspberry Pi receives the frame, decides it and shows it in an OpenCV window. The process is repeated to create a video stream.
The code for the project was written in Python.
How it works:
OpenCV is used to grab a frame from a webcam. The frame is encoded as a jpeg to reduce its size. The encoded frame is sent to the Raspberry Pi over UDP sockets. The Client program on the Raspberry Pi receives the frame, decides it and shows it in an OpenCV window. The process is repeated to create a video stream.