Giter VIP home page Giter VIP logo

screen_pyspy's Introduction

screen_pyspy

Overview

screen_pyspy is a Python script that captures screenshots when a certain noise level is detected, and it also plays a sound as a notification. This can be useful for various purposes, such as monitoring your workspace.

Requirements

To use screen_pyspy, you will need the following:

  • Python
  • sounddevice library (pip install sounddevice)
  • pyautogui library (pip install pyautogui)
  • pygame library (pip install pygame)
  • A virtual audio cable (e.g., VB-Audio Virtual Cable) for correct audio routing.

Usage

  1. Make sure you have installed the required Python libraries.
  2. Install a virtual audio cable (e.g., VB-Audio Virtual Cable) on your system.
  3. Place the screen_pyspy.py script in your desired directory.
  4. Run the script with Python by executing python screen_pyspy.py.
  5. The script will ask you to select an audio device for playback. Choose the appropriate device number and press Enter.
  6. The script will start monitoring the audio input.
  7. When the audio input surpasses a certain noise threshold (specified in the script), it will capture a screenshot of your desktop and play a notification sound.

Customization

You can customize the following parameters in the screen_pyspy.py script:

  • The folder where screenshots are saved.
  • The noise threshold level for capturing screenshots.
  • The sound to be played when a screenshot is captured.

Notes

  • Make sure to install the required libraries and a virtual audio cable for correct functionality.
  • The script continuously runs and captures screenshots whenever the noise threshold is exceeded.

License

This project is licensed under the MIT License. You can find the license details in the LICENSE file.

Author

Mistkeithy

Contributing

If you'd like to contribute to this project, please follow the guidelines in the CONTRIBUTING file.

screen_pyspy's People

Contributors

mistkeithy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.