ARImageAnchor

Information about the position and orientation of an image detected in a world-tracking AR session.

有关在世界跟踪AR Session中检测到的图像的位置和方向的信息。


Overview

When you run a world-tracking AR session and specify ARReferenceImage objects for the session configuration's detectionImages property, ARKit searches for those images in the real-world environment. When the session recognizes an image, it automatically adds to its list of anchors an ARImageAnchor for each detected image. 

To find the extent of a recognized image in the scene, use the inherited transform property together with the physicalSize of the anchor's referenceImage.

概述

当您运行世界跟踪AR Session并为Session配置的detectionImages属性指定ARReferenceImage对象时,ARKit将在真实世界环境中搜索这些图像。 当会话识别图像时,会自动为每个检测到的图像添加一个ARImageAnchor给锚点列表。

要查找场景中已识别图像的范围,请将继承的transform属性与anchor的referenceImage的physicalSize一起使用。


                    Identifying Detected Images


referenceImage
The detected image referenced by the image anchor.
检测到的图像由图像锚点引用。

Discussion

This object is always one of the ARReferenceImage objects you provided in the detectionImages array when configuring the session.

讨论

该对象始终是您在配置Session时在detectionImages数组中提供的ARReferenceImage对象之一。


Inherits From  ARAnchor

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,178评论 0 10
  • 还好你过得很好 我也很自由
    风之苹阅读 1,157评论 0 0
  • 今天早上我又兴奋又紧张,兴奋的原因是我们终于可以坐水上飞机啦,昨天因为时间不配,所以没坐成;紧张的原因是,我们...
    悠儿泡泡阅读 1,558评论 0 1
  • 话说宝玉今天又感觉无聊,就准备找黛玉妹妹谈讲谈讲
    简单爱自由阅读 1,274评论 0 0

友情链接更多精彩内容