Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.53 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.53 KB

Depth Map to Textured Mesh Generator

visualization

This project contains a 'Textured Mesh Generator from Depth Map' where the depth map is generated by Marigold depth generation or DepthAnything. It takes an input image and a corresponding depth map, which Marigold/DepthAnything generates.

Features

  • Image Input: Accepts standard image formats like JPG, JPEG, and PNG.

  • Depth Map: npy file generated by MARIGOLD DIFFUSION / DepthAnything (or GT depth map converted to numpy array is OK).

    • You can use huggingface demo of the marigold here
    • You can use huggingface demo of the depthanything here
  • Textured Mesh Output: Produces a textured mesh that combines the visual information from the image with the structural details from the depth map.

Usage

Run the processing script to generate the textured mesh.

    python depth_to_textured_mesh.py --depth <path to depth map npy file> --image <path to input image file>

Acknowledgements

You can also read my blog post for the project: Post Link