基于高通Vuforia的Hololens图像识别

作者: 午字横 | 来源:发表于2017-03-27 14:36 被阅读381次

a) 登陆Vuforia官网下载相关资料

b) 选择Download for Unity,注意下载需要登陆账号
选择Downloads-Samples- Digital Eyewear-Download for Unity下载

c) 新建一个Unity项目,导入刚下载的vuforia-unity-6-2-6.unitypackage和hololens-6-2-6压缩文件下的资源包。导入方法Assets 右键> Import Package > Custom Package。

d) 在Project面板下,选择Scenes文件夹,,打开Vuforia-2-Hololens场景文件。运行场景。

e) 提示添加Vuforia App key.此时场景中有两个Camera,一个是hololensCamera,一个ARCamera。

f) 设置ARCamera,选择ARCamera—Vuforia Behaviour --- Open Vuforia configuration。添加App License Key。

g) 注册码到上图获取。

h) 对比下图查看各属性设置是否正确。

i) 注意设置Eyewear type--->Optical see-through ;

Central Anchor Point ----->HololensCamera(将Hierarchy面板下的Hololenscamera拖入)

j) 运行出现上图表示运行成功。否则检查以上步骤是否有遗漏。

k) 发布

【1】在Edit->projectsettings->player->other settings设置下将如下内容勾选上。

【2】在Edit->projectsettings->player->publishing settings设置下将如下内容勾选上。

• InternetClient

• WebCam

• SpatialPerception - if you intend to use the Surface Observer API
  导出时选择WindowsStore平台。

接下来可以发布到你的Hololens上测试其效果。



注意笔者在实际的测试中,发现官方的自带这个例子发布到Hololens中会出现模型在识别图下的情况,且在Unity中调整模型在是ImageTarget中的相对位置不能解决。

最后使用上传Width 300。

调整IamgeTarget—ImageTargetBehaviour---width为0.2解决。

相关文章

  • 基于高通Vuforia的Hololens图像识别

    a) 登陆Vuforia官网下载相关资料 b) 选择Download for Unity,注意下载需要登陆账号选择...

  • ARCore - AR初探

    之前看了高通的Vuforia,高通Vuforia现在同样支持ARCore,最让我感兴趣的就是 ARCore 的 云...

  • Vuforia开发完全指南(四)---Image Target

    Vuforia开发完全指南---Image Target,简单方便的AR图像识别 概述 在Vuforia提供的SD...

  • 【iOS】AR&人脸识别

    高通VRhttps://developer.vuforia.com/easyARhttp://www.easyar...

  • Vuforia

    下载高通的demo如何运行 1.高通官网的下载地址https://developer.vuforia.com/do...

  • Hololens&Vuforia

    建立HololensAR的工程及发布的基本流程 官方Demo: https://developer.vufo...

  • 【Vuforia】001-Vuforia初识

    Vuforia Vuforia是与高通公司的合作的产品,致力于虚拟现实的技术,其技术最大的优点是在于Mixed R...

  • Unity之高通vuforia虚拟按钮

    高通插件导入Unity后,可以在路径Vuforia/Prefabs/VirtualButton下找到虚拟按钮的预制...

  • Vuforia demo 简析

    Vuforia 是高通提供的一款 AR SDK。 简要介绍 UserDefinedTargets 用户自定义目标,...

  • andro studio

    看一些SDK 高通 vuforia 看SDK哪些部分能用的 ARtools 看哪些部分是现成的可以利用的opengv

网友评论

  • 胡桃_c2e1:你好,为什么导入到Hololens中识别什么也没出现呢?
    午字横:@胡桃_c2e1 再检查一下 如果是新手就仔细按照我的步骤来

本文标题:基于高通Vuforia的Hololens图像识别

本文链接:https://www.haomeiwen.com/subject/ltrrottx.html