A simple yet powerful PySide6 + OpenCV desktop application for converting full-width Side-by-Side (SBS) stereo images or videos into red/cyan anaglyphs. Designed for efficiency, flexibility, and user control — with GPU acceleration, frame-level keyframing, and modern GUI.
- Convert Full Width SBS images & videos to red/cyan anaglyph (classic 3D glasses effect)
- Keyframing: Set focus/desaturation/mode for individual frames (videos)
- Different modes: Supports Color, Half-color, and Gray anaglyph modes
- Frame interpolation: Linear or stepped parameter transitions
- Hardware acceleration: Uses OpenCL (via OpenCV UMat) if available
- Multithreaded video export with progress dialog and cancel support
- Intuitive PySide6 GUI with keyboard shortcuts for speedy workflow
- Multiple FPS Methods: Custom FPS, Frames and Duration Based FPS and OpenCV Based FPS
- Python (Recommended Version 3.13.5)
- PySide6
- opencv-python
- numpy
Install all dependencies with:
pip install PySide6 opencv-python numpy
🟢If you download .EXE file (for Windows), no need to install any requirement.
Just download and run.
-
Clone or download this repository.
-
Move inside the directory where
Full SBS to Red-Cyan Anaglyph Advanced - V.03.09.2025-2.pyis located. -
Run the application:
python "Full SBS to Red-Cyan Anaglyph Advanced - V.03.09.2025-2.py" -
Open a full-width SBS image or video
- Supports:
.jpg,.jpeg,.png,.bmp,.tif,.tiff,.mp4,.mkv,.mov,.avi,.webm,.mpg,.mpeg
- Supports:
-
Adjust settings:
- Switch anaglyph mode (Color, Half-color, Gray)
- Modify focus and desaturation
- Use keyframing for complex video exports
- Switch FPS mode (Custom, Frames and Duration Based, OpenCV Based)
-
Export:
- Export an image as
.png - Export a video as
.mp4(no audio)
- Export an image as
- Space: Play/Pause video
- Page Up / Page Down: Previous/Next frame
- Left / Right: Decrease/Increase focus by 1px
- Shift + Left/Right: Decrease/Increse focus by 5px
- Up / Down: Decrease/Increase desaturation
- Home: Move at first frame
- End: Move at last frame
- Ctrl + O: Open file
- Ctrl + E: Export
- K: Add/Update keyframe
- Shift + K: Delete keyframe
- Ctrl + Shift + K: Clear all keyframes
GPL-3.0 — see LICENSE for details.
Developed by Ayan Khan
Feedbacks are welcome! Enjoy 3D!