About ARemSample
AARemu (https://github.com/donaldmunro/AARemu) is a software tool enabling simulation of Augmented Reality
by allowing an AR developer to record a 360 degree view of a
location using the devices camera and rotational sensors. The ARCamera
class which provides an impostor or mock of the Android camera class
can then be used to preview the recorded scene instead of the live
camera preview provided by the Android Camera class. The ARCamera
preview callback is analogous to the standard Camera preview
callback except that the preview bytes provided in the callback
are extracted from a file created by the recorder application
based on the current bearing returned by the orientation
sensor(s). These preview bytes are passed to the development code
via the same preview callback as provided by the standard Camera
classes and can thus be processed by Computer Vision algorithms
before being displayed by the client application. The frames are
stored as individual video frames in RGBA, RGB or RGB565 format
and not as video so the preview can be accessed in both
clockwise and anti-clockwise directions and precise seeks to bearing
locations are possible instead of to a video keyframe.
The tool is aimed at developers of outdoor mobile AR application
as it allows the developer to record one or more 360 degree
panoramas of a given location and then debug and test the AR
application in the comfort of a office or home without having to
make extensive changes to the programming
code.
This is the AARemu sample application which is a simple sample providing playback of 360 degree recordings made with ARemRecorder (also available on Play). To start playback drag the interface drawer on the left edge of the app out and click the Open button. The Open dialog allows selection of a recording made with ARemRecorder. To select a recording scroll down the ListView or type in the first few characters of the name of the recording in the TextView at the top of the dialog then click OK (the recordings are assumed to reside on Documents/ARRecorder). Hold the device at a constant vertical angle and rotate the device to playback the recording using the rotational sensors to find the frame matching the current bearing. The Review button allows reviewing the recording by ignoring the sensors and instead cycling the display between specified angles without having to rotate the device.
Download and install
ARemSample version 2.1 on your
Android device!
Downloaded 100+ times, content rating: Everyone
Android package:
to.augmented.reality.android.em.sample, download ARemSample.apk