【问题标题】:3D point cloud from AVDepthData / CVPixelBuffer iOS来自 AVDepthData / CVPixelBuffer iOS 的 3D 点云
【发布时间】:2021-07-14 07:19:37
【问题描述】:

我是 iOS 开发的新手,如果这是基本的东西,我深表歉意。

我想使用 AVDepthData / CVPixelBuffer 数据创建一个具有 [x, y, z, r, g, b] 值的点云,并将其保存为 ply 文件。

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/streaming_depth_data_from_the_truedepth_camera

这个官方演示可视化了我想要的内容,但无法理解如何从 AVDepthData / CVPixelBuffer 获取 [x, y, z, r, g, b] 值。

任何帮助将不胜感激 问候

【问题讨论】:

    标签: ios swift iphone ipad point-clouds


    【解决方案1】:

    这里有一些与您的问题相关的链接,也许有帮助

    Save depth images from TrueDepth camera

    https://www.raywenderlich.com/5999357-video-depth-maps-tutorial-for-ios-getting-started

    如果你想让它工作在 github 上搜索准备使用的库,f.e. https://github.com/shu223/iOS-Depth-Sampler

    【讨论】:

      猜你喜欢
      • 2015-01-31
      • 2016-02-05
      • 2019-03-27
      • 1970-01-01
      • 2020-02-25
      • 1970-01-01
      • 1970-01-01
      • 2020-10-07
      • 2020-05-19
      相关资源
      最近更新 更多