arkit 图片追踪

When developing any application is it essential to iterate as quickly as possible, and having to build to the device to test functionality is frustrating and can dramatically increase development time and cost.

开发任何应用程序时,必须尽快进行迭代,并且必须构建到设备上以测试功能令人沮丧,并且可能会大大增加开发时间和成本。

At Unity, we strive to make your job as a developer easier and more efficient, and since the release of Apple’s ARKit in mid-2017, we have been working hard to streamline AR development for ARKit with our ARKit plugin and the ARKit Remote. The ARKit remote allows developers to iterate on ARKit experiences right inside the Unity Editor, without building to the device each time. Today we are happy to announce that you can now access ARKit Remote functionality for Face Tracking on iPhone X by downloading or updating the ARKit plugin for Unity.

在Unity,我们努力使您的开发人员工作更轻松,更高效,并且自2017年中发布Apple的ARKit以来,我们一直在努力通过ARKit插件和ARKit Remote简化ARKit的AR开发。 ARKit远程允许开发人员直接在Unity编辑器中迭代ARKit体验,而无需每次都构建设备。 今天,我们很高兴地宣布,您现在可以通过下载或更新Unity的ARKit插件来访问iPhone X上用于面部跟踪的ARKit远程功能。

构建ARKit Remote (Build ARKit Remote)

To use ARKit Remote for Face Tracking, you will first need to build the ARKit Remote scene as an app to your iPhoneX. You will need an iPhoneX since it is the only device right now to feature the front facing TrueDepth camera, which is needed for Face Tracking.  Follow these steps for building the app to the device:

要使用ARKit Remote进行面部跟踪,您首先需要将ARKit Remote场景构建为iPhoneX的应用程序。 您将需要iPhoneX,因为它是目前唯一具有正面TrueDepth相机功能的设备,这是人脸跟踪所必需的。 请按照以下步骤将应用程序构建到设备上:

1. Get the latest Unity ARKit Plugin project from Bitbucket or Asset Store and load it up in the Unity Editor.

1.从Bitbucket或Asset Store获取最新的Unity ARKit插件项目,并将其加载到Unity Editor中。

2. Open the “Assets/UnityARKitPlugin/ARKitRemote/UnityARKitRemote” scene.

2.打开“资产/ UnityARKitPlugin / ARKitRemote / UnityARKitRemote”场景。

3. Select the “Assets/UnityARKitPlugin/Resources/UnityARKitPlugin/ARKitSettings” file and activate the “ARKit Uses Facetracking” check box.

3.选择“ Assets / UnityARKitPlugin / Resources / UnityARKitPlugin / ARKitSettings”文件,然后激活“ ARKit Uses Facetracking”复选框。

4. Select PlayerSettings (in the menu: Edit/Project Settings/Player) and make sure you have some text in the entry “Camera Usage Description.”

4.选择PlayerSettings(在菜单中:编辑/项目设置/播放器),并确保在“摄像机使用说明”条目中有一些文本。

5. Select BuildSettings (in menu File/Build Settings…) and check the Development Build checkbox.

5.选择BuildSettings(在菜单File / Build Settings…中),然后选中Development Build复选框。

6. Now build this scene to your iPhone X as you would normally build an app via XCode.

6.现在,就像通常通过XCode生成应用程序一样,将此场景构建到iPhoneX。

Here’s a video of the steps needed for building the ARKit Remote.

这是构建ARKit Remote所需步骤的视频。

演示地址

将编辑器连接到ARKit Remote (Connect Editor to ARKit Remote)

The steps in the previous section need only be done once to build ARKit Remote to your device. The following steps can be used over and over again to iterate on the ARKit Face Tracking in the editor:

上一节中的步骤仅需完成一次即可为您的设备构建ARKit Remote。 可以反复使用以下步骤在编辑器中的ARKit Face Tracking上进行迭代:

1. Connect the iPhone X to your Mac development machine via USB.

1.通过USB将iPhone X连接到Mac开发机。

2. Start up the ARKit Remote app on the device.  You should see a “Waiting for connection..” screen.

2.在设备上启动ARKit Remote应用程序。 您应该看到“等待连接..”屏幕。

3. In the Unity Editor, connect to your iPhone X by going to your Console Window and selecting the iPhone X connected via USB.

3.在Unity Editor中,通过转到控制台窗口并选择通过USB连接的iPhone X,连接到iPhoneX。

4. Load up one of the FaceTracking examples in the project e.g. “Assets/UnityARKitPlugin/Examples/FaceTracking/FaceAnchorScene” and press Play in the Editor.

4.在项目中加载一个FaceTracking实例,例如“ Assets / UnityARKitPlugin / Examples / FaceTracking / FaceAnchorScene”,然后在编辑器中按Play。

5. You should see a green screen with a button on top that says “Start ARKit Face Tracking Session.” Press that button and you should see your front camera video feed in your Editor “Game” window.  If your face is in the view it will be sending ARKit Face Tracking data from the device to the Editor as well.

5.您应该会看到一个绿色屏幕,上面带有一个按钮,上面显示“开始ARKit Face Tracking会话”。 按下该按钮,您应该在“游戏”编辑器窗口中看到前置摄像头的视频提要。 如果您的脸在视图中,它将也将ARKit脸部跟踪数据从设备发送到编辑器。

Here is a video that demonstrates the connection steps:

这是演示连接步骤的视频:

演示地址

玩ARKit人脸跟踪数据 (Play with ARKit Face Tracking Data)

Once you have connected your ARKit Face Tracking scene to ARKit Remote, all the Face Tracking data (face anchor, face mesh, blendshapes, directional lighting) is sent from device to Editor. You can then manipulate that data in the Editor to affect the scene immediately. Here are a couple of videos to demonstrate this:

将ARKit Face Tracking场景连接到ARKit Remote之后,所有Face Tracking数据(面部锚,面部网格,混合形状,定向照明)都将从设备发送到编辑器。 然后,您可以在编辑器中操纵该数据以立即影响场景。 这里有一些视频来演示这一点:

演示地址

演示地址

全新,简化的ARKit远程工作流程! (New, Streamlined ARKit Remote Workflow!)

As part of adding Face Tracking functionality to the ARKit Remote, we also made it much easier to work with ARKit Remote without altering your original ARKit scene in the Unity Editor. Previously, you had to add a GameObject that connects from your scene to the ARKit Remote. Now, we check if you are trying to initialize an ARKit configuration from the Editor and it automatically adds the RemoteConnection GameObject to your scene at runtime.

作为向ARKit Remote添加人脸跟踪功能的一部分,我们还简化了ARKit Remote的使用,而无需在Unity Editor中更改原始的ARKit场景。 以前,您必须添加一个GameObject,将您的场景连接到ARKit Remote。 现在,我们检查您是否正在尝试从编辑器初始化ARKit配置,它会在运行时将RemoteConnection GameObject自动添加到场景中。

Have fun playing around with ARKit Face Tracking in the Unity Editor!

在Unity编辑器中玩ARKit Face Tracking玩得开心!

翻译自: https://blogs.unity3d.com/2018/01/16/arkit-remote-now-with-face-tracking/

arkit 图片追踪

arkit 图片追踪_ARKit Remote:现在有了脸部追踪功能!相关推荐

  1. 匹配追踪分解 时频 matlab,Matlab匹配追踪(MatchingPursuit) 之一

    Matlab从R2012a开始添加了匹配追踪(Matching Pursuit)函数,这个算法在稀疏表达领域是一个很常用的算法,这里对matlab函数做简答介绍,内容主要来自于matlab的doc帮助 ...

  2. go 链路追踪_Golang在七牛全链路追踪中的实践

    1.Go在七⽜牛全链路路追踪中的实践 刘凯 七⽜牛云⼤大数据团队(Pandora)架构师 2.⾃自我介绍 INTRODUCTION • 刘凯,七⽜牛,⼤大数据Pandora团队成员 • 2015年年, ...

  3. Linux使用双向链表实现图片、音乐、视频的切换和删除功能

    Linux使用双向链表实现图片.音乐.视频的切换和删除功能 Linux检索目录下的后缀文件(.bmp .avi .mp3),并将文件名存入链表中 一.双向链表的实现 1.创建双向链表 2.链表节点添加 ...

  4. 光学定位与追踪技术_解析两大主流追踪技术——Inside-out 和 Outside-in

    众所周知,微软的 HoloLens 除了一身黑科技之外,更因继承了两大追踪技术之一的 Inside-out 而声名鹊起.今天跟大家来谈谈两大主流追踪技术-- Inside-out 和 Outside- ...

  5. android点击加号,Android仿微信图片上传带加号且超过最大数隐藏功能

    1.仿照微信空间上传图片,显示图片数量以及超过最大,上传按钮隐藏功能 2.上效果图 3.上代码,主要是Adapter类 /** * Created by zhangyinlei on 2018/3/2 ...

  6. Vue+Spring Boot实现图片验证码、邮箱验证码以及Cookie记住我功能(前后端代码详解)

    Vue实现图片验证码.邮箱验证码以及Cookie记住我功能 前言 图片验证码实现 Vue前端实现 Spring Boot后端实现 邮箱验证码实现 Vue前端实现 Spring Boot后端实现 Coo ...

  7. php主页显示商品预览图代码,jQuery实现鼠标滑过商品小图片上显示对应大图商品页预览功能...

    这次给大家带来jQuery实现鼠标滑过商品小图片上显示对应大图商品页预览功能,jQuery实现鼠标滑过商品小图片上显示对应大图商品页预览功能的注意事项有哪些,下面就是实战案例,一起来看一下. 1 . ...

  8. 微信小程序 长按图片不出现菜单_微信更新,新功能上了热搜

    微信在推出新功能方面相当克制,但每一次总能引起全网关注. 昨天,微信又因为一个小功能的改进再次上了热搜,在安卓最新的 7.0.17 版本当中,微信取消了两分钟内删除功能. 在新版微信中,发出的消息在两 ...

  9. pc 图片预览放大 端vue_移动端Vue.js的图片预览组件,支持放缩、滑动功能!

    功能:图片预览组件,支持双手指放大/缩小,双击放大/缩小,单击消失隐藏. 注:touch事件请手机预览 源码分享 组件参数 data() { return { loading: 2, // 1成功 2 ...

最新文章

  1. 转载:使用 OpenCV 识别 QRCode
  2. Nature子刊:厌氧消化链球菌促进结直肠癌发生及调节肿瘤免疫
  3. 一步步分析AI如何玩Flappy Bird
  4. Struts2标签库常用标签(转)
  5. @mapperscan mapper还是无法引用_高能来了!Java的四大引用
  6. 学习笔记(七)——jQuery(一)
  7. ACL 2019 | 面向远程监督关系抽取的模式诊断技术
  8. QPixmap QImage 相互转化
  9. echart 饼图每一块间隙_花10分钟做酱香饼,简单方便又美味,酥脆咸香比买的还要好吃...
  10. 服务器不知别内存_图文版 许迎果第63期 选购和使用内存需要注意的点
  11. java poi excel 导入数据库_java POI 处理excel表格数据并导入数据库示例
  12. 利用IDisposable接口构建包含非托管资源对象
  13. 2018.6.5今天跟着视频做了一个提交Todolist
  14. bat 调用class文件_Logback 配置文件这么写,TPS 提高 10 倍!
  15. java实现文件对比
  16. 单相全桥逆变器带负载电流前馈的双闭环控制系统设计及仿真
  17. 如何快速识别图片中的字体是什么字体
  18. 各种常用的默认端口号归纳
  19. 模拟卷Leetcode【普通】015. 三数之和
  20. c语言填字母游戏蓝桥杯,蓝桥杯2017国赛JAVAB组 填字母游戏 题解

热门文章

  1. 如何使用ChatGPT开发Unity小游戏
  2. 腾讯miniStation评测 打造完美安卓游戏主机
  3. 关于SpringCloud的所有笔记
  4. php静默安装,如何静默安装、静默卸载 之Installshield installscript工程 | 陶雨轩
  5. 【知识图谱论文】HackRL:用于跨图知识融合和协作推理的分层注意强化学习
  6. typedef struct student 和 struct student 的区别
  7. 注意力机制 Attention
  8. java获取当前时间所在一周的周一和周日日期
  9. Android培训班(42)
  10. Win7下编译mosquitto源码