Skip to content

Real-time depth anything model 2 with GPU acceleration supports Apple silicon GPU's .

Notifications You must be signed in to change notification settings

Ayanzadeh93/Depth-Anything2_webcam_GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Real-time Depth Estimation GUI

A PyQt6-based application for real-time depth estimation using your webcam. Built with PyTorch and optimized for Apple Silicon (M1/M2/M3) GPUs.

Features

  • Real-time depth map visualization
  • GPU acceleration support for Apple Silicon
  • Multiple colormap options
  • Adjustable depth threshold
  • Video recording capability
  • FPS monitoring

Useage

python depth_estimation.py

Installation

# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate  # Unix/macOS
# or
.venv\Scripts\activate  # Windows

# Install dependencies
pip install torch torchvision transformers opencv-python pillow PyQt6

About

Real-time depth anything model 2 with GPU acceleration supports Apple silicon GPU's .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages