Flask - pip install Flask
Opencv - pip install opencv
Socket - pip install socket
Download the zip from here and extract, then open main.py and navigate to the url provided on a different device on your network and your ready to go.
If you want to access your webcam from the internet you have to port forward which the instructions for can be found here.