Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 832 Bytes

File metadata and controls

25 lines (13 loc) · 832 Bytes

Image to Point Cloud

This simple proof of concept uses the CoreML Depth Anything v2 Small model to convert an image into a 3D point cloud file.

It’s ideal for mapping images into point clouds for 3D reconstruction or analysis.

Note: You may need to adjust the aspect ratio of input images to get accurate results.

Endpoints

/predict

Pass what ever image as file argument. Gives you the depth map of the given image

/pointcloud

Pass what ever image as file argument. Gives you the point cloud file (data) for the given image

Image example

Link to the AI model in Huggingface

This model being used Depth Anything V2 Core ML Models

https://huggingface.co/apple/coreml-depth-anything-v2-small