Skip to content

This is a simple python script to convert a batch of images from a folder to depth maps using the MiDaS model.

Notifications You must be signed in to change notification settings

ostris/batch-depth-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batch Image to Depth Map Converter

This is a simple python script to convert a batch of images from a folder to depth maps using the MiDaS model.

Deprecated!

This will still work fine for MiDaS depth, but my other repo has many more models and is more up to date. Check it out here: Batch Annotator

Installation

  1. Clone this repository
  2. Install the requirements using pip install -r requirements.txt

Usage

python main.py <input_dir> <output_dir>

Example

python main.py "/path/to/normal/images" "/path/to/depth/maps/output/folder"

That is it! Enjoy.

Wonka

Wonka Depth Map

About

This is a simple python script to convert a batch of images from a folder to depth maps using the MiDaS model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages