DepthFrame-Stitch is a GUI application for compiling a sequence of depth frames into a 3D depth video. It allows users to specify input frames, adjust resolution, select video codecs and set the frame rate
- Download and install Python 3.8+ from python.org.
- Ensure "Add Python to PATH" is selected during installation.
- Open Command Prompt (cmd) and run:
- pip install -r requirements.txt
- python DepthFrame-Stitch_GUI.py
- Download from conda.io.
- Open Anaconda Prompt (Windows) or Terminal (Linux/macOS) and run:
- conda create --name depthframe python=3.9 -y
- conda activate depthframe
- pip install -r requirements.txt
- python DepthFrame-Stitch_GUI.py
- sudo apt update && sudo apt install python3 python3-pip python3-tk -y
- pip install -r requirements.txt
- python3 DepthFrame-Stitch_GUI.py
- sudo apt install python3-tk -y
- Python not found? Add it to your system PATH or reinstall it.
- pip install --upgrade pip
- Click "Browse" to select the folder containing your depth map frames.
- Click "Save As" to specify where to save the output video (.mkv, .mp4, etc.).
- Enter the desired width and height for the output video.
Choose a video codec from the dropdown menu:
- XVID (Good Compatibility)
- H.264 (Efficient, High Quality)
- MJPG (Motion JPEG)
- TMP4V (Standard MPEG-4)
- DIVX (Older Compatibility)
- Set the desired frame rate (default: 24.0 FPS).
Click "Start Processing" to begin compiling the video. The progress bar updates as frames are processed.
- ✔ Select a folder containing depth map frames.
- ✔ Choose an output video file format.
- ✔ Select video codec (XVID, H.264, MJPG, etc.)
- ✔ Define frame rate (FPS).
- ✔ Optimized multi-threaded frame processing for better performance.
- ✔ Track progress with a progress bar.
This GUI is useful for processing and converting grayscale depth maps into an animated sequence for further analysis, visualization, or 3D rendering applications. 🚀