Ask Your Question
1

Augmented Reality on Android

asked 2013-09-19 18:49:36 -0600

habisravi gravatar image

I am doing an Augmented Reality project on Android.The user can tag images captured by a camera with a message. this message is send to the cloud. Again when the user shows the camera to the image, the message needs to be retrieved from the cloud and is overlayed above the image. Which Algorithm should i need to implement for image matching and How can i do that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-20 01:12:06 -0600

lanshan317 gravatar image

updated 2013-09-20 01:14:02 -0600

To do image matching, you can look at SIFT, SURF, ORB or other feature detection algorithms. Basically, you first extract keypoints and feature descriptions from target images and the images to be matched. Then, you can employ certain image matching algorithm to perform the matching, such as brute-force method, or best-bin search method and so on.

For your project, you can first look at feature detection. You have two quick options. I assume you know how to use Android NDK in an Android project. Or at least you know how to use JNI to wrap NDK functions into JAVA interfaces.

You can either use OpenCV library to help you. OpenCV provides implementations of SIFT, SURF and so on. Unfortunately, they are in a nonfree package and are not included in the OpenCV4Android build. But you can look at this webpage. This webpage provides method to build SIFT/SURF OpenCV package for Android. A binary library is also provided, so you can directly use it.

Another option is to find an Open-source SIFT/SURF implementation, and integrate it into your project. Such as this implementation called ezSIFT.

Once you have the feature detection, you can first try the brute-force method to do the matching, see if it works as you expected. After that, you have chances to apply more advanced matching algorithms and improve the matching speed.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-19 18:49:36 -0600

Seen: 1,429 times

Last updated: Sep 20 '13