Skip to Content
下一代空间计算:AR与VR创新理论与实践
book

下一代空间计算:AR与VR创新理论与实践

by Erin Pangilinan, Steve Lukas, Vasanth Mohan
October 2020
Intermediate to advanced
302 pages
5h 22m
Chinese
Publishing House of Electronics Industry
Content preview from 下一代空间计算:AR与VR创新理论与实践
94
|
第
5
章
计算机视觉如何让
AR
成为可能
为零。在我看来,所有的解决方案都属于工程范畴,工程师们可以说“其看起来有效,
我们构建了多人
AR
游戏”。然而,用户体验后却觉得其用起来麻烦,可玩性很低。
AR
平台
构建
AR
应用,意味着要选择一个相应的平台。这些平台是一组
API
和工具集,在
AR
平台的基础上,开发人员能够创建与现实世界交互的内容。最常用的两个平台是苹果的
ARKit
和谷歌的
ARCore
(
ARCore
是从谷歌早期的
Tango
项目发展而来的,
Tango
需要
软件结合定制化的硬件)。微软的
HoloLens
以及
Magic Leap
也都为其头戴式显示设备提
供了
AR
开发平台。下面将讨论
ARKit
和
ARCore
的主要功能,并从开发人员的角度对
二者加以比较。
苹果的
ARKit
具体来讲,
ARKit
(见图
5-20
)是一个
VIO
系统,具有一些简单的
2D
平面检测能力。
ARKit
的第一个主要部分就是其
VIO
系统。
VIO
系统能够实时追踪设备在空间中的相对
位置(六自由度的姿态)。也就是说,在屏幕上刷新每帧之前,设备的姿态都会被重新计
算,每秒会计算
30
次或者更多次。这些计算并行进行了两次 :基于视觉(相机)系统,
通过将现实世界的点与相机传感器上每帧图像的相应像素进行匹配,以追踪设备姿态 ;
与此同时,设备还会通过惯性追踪系统(设备的加速度计和陀螺仪)追踪自身姿态。随
后,两个系统的输出会被汇集到卡尔曼滤波器,卡尔曼滤波器会选择两个姿态估计结果
中最可靠的一个,并通过
ARKit SDK
回调给应用。类似于汽车里程表记录汽车行驶的距离, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉
GPT-3

GPT-3

Sandra Kublik, Shubham Saboo
解密金融数据

解密金融数据

Justin Pauley
机器学习流水线实战

机器学习流水线实战

Hannes Hapke, Catherine Nelson

Publisher Resources

ISBN: 9787121386725