是否可以从使用Arcore API捕获的MP4的MP4构架深度和RGB提取框架?

发布于 2025-01-24 03:06:58 字数 186 浏览 0 评论 0原文

我尝试通过Arcore In Android Studio的录制和播放API创建扫描仪,现在我可以保存MP4文件格式。我假设MP4文件在捕获文件的RGB和深度方面具有额外的数据。我想逐一获取这些数据框架,其中提取的图像上有深度和RGB数据,但实际上我不知道该怎么做。我尝试搜索相关问题,但没有发现。 PS我对这类项目有点陌生,我将使用你们可以提供的任何帮助。

I tried creating a scanner through Recording and Playback API from ARCore in Android Studio, right now I can save the mp4 file format. I assumed that the mp4 file had the extra data in capturing both the RGB and Depth of the file. I wanted to get those data frame by frame where the image extracted has both the depth and RGB data on it, but I actually don't have any idea how to do it. I tried searching for related problems but nothing was found. P.S I am kinda new to this type of project and I will use any help you guys can give.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等你爱我 2025-01-31 03:06:58

在Arcore中,深度信息实际上是另一组视频帧,即一个单独的视频轨道,其深度框架与主视频轨道中的每个“真实”框架匹配。

因此,深度信息不是作为元数据存储的,而是在MP4容器中作为额外的视频轨道。

在线文档给出了视频框架和相应深度框架的示例,这使得这更容易可视化:

“在此处输入映像”

您可以看到颜色与像素的深度相对应 - 红色 - 红色更近近,蓝色更远。

更多信息(此时 - 在线文档可以定期更改): https:// https:// .google.com/ar/develop/depth

In ARCore the depth information is actually another set of video frames, i.e. a separate video track with a depth frame matching every 'real' frame in the main video track.

So depth information is not stored as metadata but as an extra video track in the MP4 container.

The online documentation gives an example of a video frame and the correspond depth frame, which makes this much easier to visualise:

enter image description here

You can see that the color corresponds to the depth of the pixel - red is closer and blue further away.

More info (at this time - the online documentation can change quite regularly) here: https://developers.google.com/ar/develop/depth

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文