This Python script records your screen along with the webcam feed and saves it as a video file using OpenCV, NumPy, and PyAutoGUI.
- Python 3.x
- OpenCV (cv2)
- NumPy
- PyAutoGUI
- Ensure you have Python installed on your system.
- Install the required libraries using pip:
pip install opencv-python numpy pyautogui
- Clone or download this repository to your local machine.
- Open a terminal or command prompt.
- Navigate to the directory containing the
screen_webcam_recorder.py
script. - Run the script by executing the command:
python screen_webcam_recorder.py
- Your screen and webcam will be recorded simultaneously.
- Press the 'q' key to stop the recording.
- The recorded video will be saved as
video.avi
in the same directory as the script.
To clone this repository to your local machine, use the following command:
git clone https://github.com/tanujgupta18/screen-webcam-recorder.git