My NVR system uses Flash for web display. Now that Flash is disabled, I needed a way to casually view my cameras from my desktop.
This is a simple script which uses TKinter and PIL to grab each channel's image snapshot and display it (stacked).
The snapshots resize to the window's size and overlays the current time.
Each snapshot will update every two seconds.
Requires Python 3.6 or higher, PIL, and TKinter
source .env/bin/activate && pyton3 -m pip install -r requirements.txt
- Copy/rename
nvr-viewer.desktop.dist
tonvr-viewer.desktop
. - Fill in the environment variables for username, password, IP, and channels in
nvr-viewer.desktop
. - Move or symlink the desktop file
~/.local/share/applications/
.