通过(常见)网络摄像头/iPhone/Android 增强现实 - 网格检测? - 哈利波特 3D 示例
我正在尝试弄清楚如何实现一个基本的增强现实应用程序,该应用程序使用一张(真实的)纸来导航(简单旋转、缩放)虚拟 3D 或伪 3D 空间。
我想到的实现是哈利波特 3D 增强现实广告,您可以在其中拿一张纸,将其指向您的网络摄像头(以正确的角度/距离),3D 建筑物等将会弹出(在您的屏幕上)。然后,您可以转动纸张来旋转建筑物,甚至放大。
上面的示例是使用 Shockwave 完成的。我想知道是否有更好的网络友好插件,例如 Flash(甚至 HTML5,如果网络摄像头集成有效?),可能能够做到同样的事情?
另外,是否有方法可以优化网格检测,从而减少效果的“损耗”——以 HP 为例,建筑物经常会在真实纸张上失去“方位”,而只是冻结在屏幕上。
看起来已经有一个类(用于 flash) - iphone 的可移植性(?) http://www.libspark.org/wiki/saqoosha/FLARToolKit/en
http://www.adobe.com/devnet/flash/articles/bow_cards .html http://www.adobe.com/devnet/flash/articles/augmented_reality。不过,
它似乎最适合纯色图像,而不是像 HP 示例中那样的复杂地图。
是否可以在 Android 或 iPhone 上使用摄像头来实现增强现实效果?
I'm trying to figure out how to implement a basic augmented reality application that uses a piece of (real) paper to navigate (simple rotate, zoom) a virtual 3d or pseudo-3d space.
The example implementation that comes to mind is the Harry Potter 3D Augmented Reality ad, where you can take a piece of paper, point it at your webcam (at the right angle/distance), and 3d buildings and such would pop up (on your screen). You can then turn the paper around to rotate the building, or even zoom in.
The example above is done using Shockwave. I'm wondering if there are better web-friendly plugin's, such as Flash (or even HTML5, if webcam integration works?) that might be able to do the same?
Also, are there ways to optimize grid detection, so that the effect is less "lossy" - with the HP example, the buildings often lose their "bearings" on the real paper and just freeze onscreen.
It looks like there's already a class (for flash) - portability for iphone(?)
http://www.libspark.org/wiki/saqoosha/FLARToolKit/en
http://www.adobe.com/devnet/flash/articles/bow_cards.html
http://www.adobe.com/devnet/flash/articles/augmented_reality.html
It seems to work best with solid-color images though, rather than a complicated map, as in the HP example.
Is it possible to get the cam on an Android or iPhone to do the augmented reality effect?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您一定要看看Qualcomm 的增强现实 SDK,您将把自己从 Flash 中解放出来层,你甚至可能在他们的比赛中赢得大笔钱:)
You should definitely check out Qualcomm's augmented reality SDK, you'll free yourself from the Flash layer and you might even win big money in their contest :)
使用 flash/flex AS3 有一个非常简单的方法。
我是开发新手,并设法为 Flash 构建增强现实程序。
对于简单的教程,请查看 -
www.gotoandlearn.com - 来自 lee brimlo 的精彩教程,他有 2 或 3 个基本的教程以及代码示例。
他主要使用一个名为 Flar 工具包的引擎。
另一个重要的来源是 Flar 管理器。这使得它非常容易实施。
希望它会有所帮助。
沙尼
there is a very easy way with flash/flex AS3.
i am new to developing and managed to build augmented reality program for flash.
for simple tutorials look at -
www.gotoandlearn.com - great tutorials from lee brimlo, he has 2 or 3 basic tuts for that with code examples.
he basically uses an engine called Flar toolkit.
Another great source is Flar manager. that makes it very easy to implement.
hope it will help.
shani