A lightweight always-on-top window for previewing a webcam or other video source. The window is borderless and can be freely repositioned. It is useful as a small picture-in-picture monitor and works well with tools like TouchOSC.
- Opens borderless window in a 320×180 window positioned at
x=10, y=10. - Right click & drag to move the window.
- Escape or Alt+F4 closes the viewer.
- F1 for source menu F2 for help menu
python PiPv1.pyAfter launching, use the buttons to change sources in the main window. if you need to re-select a source use F1 to pull up source menu The window always stays on top of other applications. Use refresh key in Source menu to update sources Use RTSP key to add a network stream
- Python 3
- Pillow
- imutils
- OpenCV (
cv2) - tkinter (usually included with standard Python installs)
Install them with pip:
pip install pillow imutils opencv-pythonSee https://github.com/CarlosFdez/pyNDI/tree/master for the underlying NDI implementation.