Screenshot capture with a virtual camera window, works on Windows, Linux, and MacOS.
- Install Python3:
winget install python3
- Install Python3:
sudo apt update && sudo apt install -y python3
Make sure you have a Desktop (i.e., Display Manager).
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Python3:
brew install python3
- Update Tkinter:
brew install tcl-tk brew install python-tk
git clone https://github.com/j3soon/ScreenSnipCam.git
cd ScreenSnipCam
# (Optional) Create a virtual environment
pip install -r requirements.txt
python screensnipcam/screensnipcam.py
# Or specify the screenshot directory
python screensnipcam/screensnipcam.py --path=.
-
If the screen snip file only shows the MacOS desktop wallpaper without any window, please allow Screen Recording for ScreenSnipCam or the Terminal.
-
If you encountered the following error message on MacOS:
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
Run
brew install tcl-tk
to fix it by upgrading tkinter. -
If you saw a black window on MacOS, run
brew install python-tk
to fix it by upgrading python tkinter.
- GifCam: Record screen to gif with a virtual camera window, Windows only. This is also the inspiration of this project.