How to start writing an augmented reality application
I have been looking at creating an augmented reality application. Can anyone suggest a preferred technology platform to start writing an application of this kind.
I 开发者_运维知识库would like this to be a desktop application and not a mobile application. Therefore I want to use a webcam with object recognition.
Thanks!
FLARToolKit is another good place to look. It's free and uses flash + Actionsctript 3. gotoandlearn DOT com has a couple good video tutorial on how to use the library, I'd give you links to them but stackoverflow says I'm not special enough for more than 1 url.
Your best bet is probably a cell phone of some kind.
I would go for Android. With the built in Accelerometer and GPS on Android phones, it won't be too hard to tag locations and detect if you are looking at them. You can then create an overlay ontop of the camera input to tag locations and the like. There are some people who have done similar things on this platform, so you might even get some help.
Good Luck.
If you want to build your own AR sdk so you can improve it over time, here I posted a kind of tutorial on which techniques and functions do you need.
I chose OpenCV as it is fast, free and versatile.
I was at a conference last weekend where somebody demoed Goblin XNA. It's an extension to the XNA framework to support augmented reality. It certainly looked very impressive.
If your already familiar with .net it might be worth a look.
There is the Android and iPhone Augmented Reality dev kit. iPhone version here Android version here. Assuming you can program in obj-c or java, those should take some of the complicated math off your hands.
You can use Nyartoolkit for java on Windows and Linux platforms You can install using http://sixwish.jp/Nyartoolkit/Java/section01.en/ Also you can check http://fivedots.coe.psu.ac.th/~ad/jg/ch165/index.html for Augmented Reality with NyARToolkit e-book and samples.
For desktop purposes - object recognition with a webcam - opencv is certainly worth a look. I think there is also a port for mobile devices
I would suggest you to try NYARToolkit for Unity
you can download basic Unity for free from here
with this Augmented Reality be a 2 minutes task, its very easy to use both "unity" and "NyARToolkit for unity"
Does desktop application include WebGL applications in the web browser?
If so, then you might want to check out skarf.js, a framework that I have written for handling JavaScript augmented reality libraries in Three.js. It currently integrates JSARToolKit and js-aruco, so you can easily switch between these two libraries to decide on the more suitable one to use.
This framework takes care of a number of things for you, including automatic loading of models when the associated markers are detected (association is specified in a JSON file). There is also a GUI marker system which allows users to control settings using AR markers.
Integration with Three.js is just one line of code to create a Skarf instance and another line of code to update.
There are videos, live demos, source codes, examples and documentation available. Check out http://cg.skeelogy.com/skarfjs/ for more info.
精彩评论