Simple code in python using openCV and Socket for live video stream from Raspberry Pi Camera
- Python 3
- opencv (above 3.3) in server (Ubuntu Tested)
- Pillow in server (Ubuntu Tested)
- Numpy in server (Ubuntu Tested)
- Picamera in Raspberry Pi
In Server (Ubuntu):
Python3 pi_video_server.py 0.0.0.0 port_no
In Raspberry Pi:
Python3 pi_video_client.py server_ip port_no
Arijit Das