Monitor Your Devices π¨βπ» around your Network
This is a Python script that reads frames from a video file and displays them in a window using OpenCV.
- Python 3
- OpenCV
- Install OpenCV by running
pip install opencv-python
. - Save your video file in the same directory as the Python script.
- Update the file name in
cv2.VideoCapture()
to match your video file. - Run the script using
python main.py
. - The video should start playing in your browser.
- Press 'q' to quit the window and stop the video.
main.py
: Contains the Python script code.
This project was inspired by the Camera Streaming and Recording using Flask and OpenCV example by Skydrige.