Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
The basic requirements for any AR experience — and the defining feature of
ARKit — is the ability to create and track a correspondence between the real-
world space the user inhabits and a virtual space where you can model visual
content.
When your app displays that content together with a live camera image, the
user experiences augmented reality: the illusion that your virtual content is part
of the real world.
What is augmented reality?
Augmented reality (AR) is a variation of virtual environments (VE), or virtual
reality.
In contrast, AR allows the user to see the real world, with virtual objects superimposed
upon or composited with the real world.
Therefore, AR supplements reality, rather than completely replacing it. In this way,
ideally it would appear to the user that the virtual and real objects coexisted in the
same space.
2. vision-based (or target-based AR) presents digital media to the users after
they point the camera in their mobile device at an object or target (e.g., QR
code, 2D target).
The current state of AR apps
PeakFinder Earth
Sky View
Pokémon Go
iOS Foundation UniParthenope
The current state of AR apps
ARKit use a process called Visual Inertial Odometry (VIO) to build the
correspondence between the real and virtual in your app. It combines the motion
sensors in the device with analysis of the scene gathered through the device’s
camera and produces a high-precision model of the device’s position and motion
within the world for you.
ARKit doesn’t only determine that you’re pointing your phone to the east. It also
analyzes and tries to understand the scene to the east.
ARKit can find real-world surfaces that correspond to points in the camera
image. It can detect flat surfaces (though not vertical ones) and provide
information on the position and size of these surfaces. Your app can place virtual
objects on and interact with these points and surfaces.
Visual Inertial Odometry
VIO analyzes camera data ("visual") to identify landmarks it can use to measure
("odometry") how the device is moving in space relative to the landmarks it sees.
Motion sensor ("inertial") data is used to fill in the blanks in providing
complementary information that the device can compare with what it's seeing to
better understand how it's moving in space.
The first one will ask ARKit to render the “feature points” as they are being
identified. They will appear as yellow dots.
The second one will show a triple X-Y-Z axis at the world origin.
What can we do with ARKit
The ability to translate distances on a screen to distances in the real world
provides a foundation for apps that need to place objects accurately onto a view.
For example IKEA developed IKEA Place, an app allowing customers to preview
furniture in a room before heading to the store.
Design and home decor companies likely will
add similar abilities to their apps.
For example is very interesting the idea of games that bring people into a shared
virtual environment.
Instead of looking at a representation of a board
on the screen, an augmented reality games can
show the board on the desk in front of you.