Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 2.3 KB

File metadata and controls

33 lines (26 loc) · 2.3 KB

Automatic-Screenshotter-for-Presentations

Description

This script uses the PyAutoGUI and PIL libraries to take screenshots of a specified screen at a specified interval and save them to a specified folder. The script prompts the user for the screen to capture, the interval between screenshots, the folder to save the screenshots, and the percentage change required before a new screenshot is taken. The script then compares the current screenshot to the previous screenshot and saves the current screenshot only if the difference in pixels between the two images exceeds the specified percentage. Note: the script will run indefinitely until the user terminates it.

Getting Started

  1. Install the necessary libraries by running the following command:
pip install -r requirements.txt
  1. Make sure you have a Python environment set up on your machine.
  2. Download or copy the script to your machine and save it in a desired location.
  3. Open a command prompt or terminal and navigate to the location where the script is saved.
  4. Run the script by typing python script_name.py (replace script_name.py with the actual name of the script file) and press enter.
  5. After providing the required information, the script will start running and take screenshots at the specified interval. The screenshots will be saved in the specified folder and will only be saved if the difference in pixels between the current screenshot and the previous screenshot exceeds the specified percentage change.
  6. To stop the script, use the keyboard interrupt (ctrl + c)

Please note that the script will run indefinitely until you manually stop it.

Built With

  • Python - The programming language used
  • PyAutoGUI - A library for automating mouse and keyboard actions
  • Pillow - A library for working with image files
  • Numpy - A library for working with arrays and matrices
  • OpenCV - A library for working with image and video data
  • Keyboard - A library for controlling and monitoring the keyboard

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details