Skip to content

3D scene mapping system that using PyTorch's MiDaS model to estimate scene point cloud

License

Notifications You must be signed in to change notification settings

jgfranco17/depth-mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Depth Mapping

Status License


This project leverages PyTorch's MiDaS model and Open3D's point cloud implementation to attempt to create an orthogonal 3D mapping of a scene. The goal of this project is to provide a real-time, accurate, and intuitive representation of the spatial relationships between objects in a given scene.

📝 Table of Contents

🧐 About

This project leverages PyTorch's MiDaS model and Open3D's point cloud implementation to attempt an orthogonal 3D mapping of a scene.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The project build is tested on Python 3.9 and 3.10. For Mac and Linux environments, it is recommended that you manage your versions with pyenv, or (for the general case) use a virtual env to avoid clashing dependencies with Torch packages.

Installing

A step by step series of examples that tell you how to get a development env running.

First, you need to install the Python requirements.

pip install -r requirements.txt

🚀 Deployment

To run the model on an image, replace FILENAME with the file name (with path and extension) of the image to be used as input. For the --level configuration option, input an integer 1-3, 1 being the lowest accuracy with highest inference speed and 3 being highest accuracy with slowest inference speed.

python3 main.py --level [1|2|3] --image FILENAME

⛏️ Built Using

✍️ Authors

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

About

3D scene mapping system that using PyTorch's MiDaS model to estimate scene point cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published