Skip to content

It gives a depth map for single image using pre-trained deep learning depth-net model.

Notifications You must be signed in to change notification settings

Abhinandan11/depth-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

depth-map

  1. Clone this repository:
git clone https://github.com/Abhinandan11/depth-map.git
  1. Install the dependencies:
pip install -r requirements.txt 
  1. Download these two files: https://drive.google.com/open?id=1ztQTAoDOzfG9IiZc4rxB5FMJgi40ngvf

    https://drive.google.com/open?id=1W7SexKT0Wb8-wqmf23q94tDLmd48wkxK

    and move them to models folder.

  2. Rename your input image as input.jpg and place it in the main folder.

  3. Run predict.py file with command:

python predict.py models/NYU_FCRN.ckpt input.jpg
  1. It will save two depth maps as final.jpg and finalgray.jpg in the main folder.

Please fork this repository, if you want to use this code and give it a star.

About

It gives a depth map for single image using pre-trained deep learning depth-net model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages