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.
-
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).
-
Textured Mesh Output: Produces a textured mesh that combines the visual information from the image with the structural details from the depth map.
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>
You can also read my blog post for the project: Post Link