Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Full SBS to Red/Cyan Anaglyph Advanced

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.

Screenshot 2025-09-03 130034

Features

  • 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

Requirements

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.


Usage

  1. Clone or download this repository.

  2. Move inside the directory where Full SBS to Red-Cyan Anaglyph Advanced - V.03.09.2025-2.py is located.

  3. Run the application:

    python "Full SBS to Red-Cyan Anaglyph Advanced - V.03.09.2025-2.py"
    
  4. Open a full-width SBS image or video

    • Supports: .jpg, .jpeg, .png, .bmp, .tif, .tiff, .mp4, .mkv, .mov, .avi, .webm, .mpg, .mpeg
  5. 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)
  6. Export:

    • Export an image as .png
    • Export a video as .mp4 (no audio)

Keyboard Shortcuts

  • 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

License

GPL-3.0 — see LICENSE for details.


Author

Developed by Ayan Khan


Feedbacks are welcome! Enjoy 3D!

About

A modern PySide6 + OpenCV desktop app for converting side-by-side (SBS) stereo images and videos into red/cyan anaglyphs. Features adjustable focus, desaturation, keyframing, fast GPU-accelerated export, and an intuitive GUI. Ideal for creating 3D anaglyph content from SBS files.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages