computer, travel, movies, music, cuisine and more
Archive for August, 2009
iPhone Augmented Reality Tips
Aug 29th
As I promised earlier on, here’s a small post with some suggestions on how to make AR apps.
When the iPhone OS 3.1 will be released (the sdk and os are now in beta), it will be possible (and approved by Apple) to overlay anything on top of the camera view, exactly to achieve Augmented Reality applications.
At the moment it is not possible to actively analyze the images presented to the user via the camera, unless using some tricks (which may not prove satisfying, i.e. take multiple screenshots of the screen), or jailbraking (or however it’s called the process of removing Apple’s restrictions) the device.
Following are some specs that most probably your application will need to use if it has to display some information based on your current location (GPS) and heading (compass).
In landscape mode:
Screen height: 320 px / 4.99 cm
Screen width: 426 px / 6.64 cm the camera view leaves some space under itself (which might come useful for some buttons/ui components), that’s why it’s not 480 px.
1 cm: 64 pixels
Camera FOV height: 34.6 degrees
Camera FOV width: 50.1 degrees
With these informations you should be able to do all kind of conversion calculations given you have for example latitude and longitude of something you want to display on screen, if you have the height as well you can use it to fine-tune the placements of all the items on the overlay view of the camera.
Hoping that this information can be useful to someone.
ciop ciop
Thank you
Aug 28th
As you have noticed I’ve added a donation button on the top right part of the site.
The other day Mr. William Edmondson, from Comcast has donated me some money. Being the first time such a thing happens I would like to thank him in particular. I hope you have found interest in what I write.
I will add a section of all the donors to my site, so your names won’t be forgotten. And from my side I will keep on writing and coding and keeping you updated.
Following up this weekend a new version of the ImageMagick for iPhone test project (which I know you love to read about) from the comment of another reader of this site. And also following a new post with some nice specifications of the iPhone that you may find useful (and it took me a while to dig out).
So, again, thank you all, and stay tuned!
ciop ciop