有没有办法使用颤振中的增强现实来测量房间的面积?

发布于 2025-01-13 12:44:24 字数 164 浏览 2 评论 0原文

我正在 Flutter 中开发一个应用程序,它连接到 ARKit 和 ARCore 以启动增强现实会话,目的是测量距离以确定房间的面积。具体来说,它的目的是确定房间三个边缘之间的距离,并最终确定墙的高度。

我是增强现实新手,找不到与该主题相关的任何材料或教程。如果有人可以指导我这将是一个巨大的帮助。

I am developing an app in Flutter that is connecting to ARKit and ARCore to initiate an augmented reality session with the aim of measuring distances to determine the area of a room. Specifically it aims at determining the distance between three edges of a room and finally to determine the height of a wall.

I am new to Augmented reality and couldn't find any materials or tutorials related to the topic. If anyone can guide me with this that will be a huge help.

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

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

发布评论

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

评论(1

心如荒岛 2025-01-20 12:44:24

您可以使用此处的方法来确定房间的所有角落,然后尝试拟合一个覆盖地板上所有检测到的角的矩形。该矩形的面积就是房间的面积。对于房间的高度,房间中任何两个锚点之间的最大垂直距离将为您提供高度。

You can use the approach here to determine all corners of a room and then try to fit a rectangle that covers all the detected corners on the floor. The area for this rectangle is the area of the room. For the height of the room, the largest vertical distance between any two anchors in your room will give you the height.

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