Skip to content Skip to sidebar Skip to footer

Find Restaurents And Tourist Places By Augmented Reality

in my app i want to use augmented reality to find places like family restaurants etc.. What i want to do is that when i start my app camera turned on and then i want to locate the

Solution 1:

There are three steps.

1) Determine your position and orientation using sensors.

2) Convert from GPS coordinate space to a planar coordinate space by determining the relative position and bearing of known GPS coordinates using e.g great circle distance and bearing. http://www.yourhomenow.com/house/haversine.html (your devices stays at the origin of the coordinate space with this scheme)

3) Do a perspective projection http://en.wikipedia.org/wiki/3D_projection#Perspective_projection to figure out where on the plane that is your display (ok, your camera sensor) the objects should appear, so you can augment them.

To start with, you can simplify the situation so the phone is only held in one orientation, and you don't update the display to account for orientation about the axis defined from the screen to the camera, since for a basic "finder" app, most people won't rotate in that axis. Be aware of gimbal lock http://en.wikipedia.org/wiki/Gimbal_lock - I'm not sure if the Android sensor APIs take care of that for you.

Solution 2:

Here is the important link.

http://code.google.com/apis/maps/documentation/places/

now all i need to do is the parse the xml file and get the places..

Post a Comment for "Find Restaurents And Tourist Places By Augmented Reality"