Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

ewpratten/midas-depth-solve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiDas Depth Solver

A Docker container for determining depth maps of 2D images using MiDaS.

Usage

nvidia-docker run -it -v $(pwd)/test_img:/input -v $(pwd)/output:/output -v midas_cache:/root/.cache ewpratten/midas-depth-solver

The following environment variables are supported:

Variable Description
MIDAS_MODEL Model size. Can be one of: DPT_Large, DPT_Hybrid, or MiDaS_small (default DPT_Large)
FORCE_CPU_COMPUTE If set, forces CPU computation (default unset)

Examples

Input:

Input

Output:

Output