I want to build an augmented reality app. I was thinking of using something like the Wikitude SDK here http://www.wikitude.com/developer or using this javascript library https://github.com/mtschirs/js-objectdetect js-objectdetect which I would prefer however, it relies on webRTC support which of course is fine using a modern browser but I'm not quite sure if PhoneGap also supports it. In addition, if anyone knows how I can superimpose my 3d models over an object, that'd be great. I don't know what file format my 3d models need to be in to be used with these augmented reality solutions.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
As techfoobar said, WebRTC support is determined at the browser level.
The WebRTC specification is far for finished. You can check the current support matrix of the draft specification. Recent versions of Firefox, Chrome and Opera supports the current implementation.
All Mobile browsers won't support it very soon. By now it works on Android with Chrome, but it's still missing on Windows IE.
The only thing you can hope for is a phonegap plugin which simulates the WebRTC interface.
回答2:
Check out the OpenTok PhoneGap plugin. It doesn't do WebRTC but it does do video communication. Only works with iOS right now.
https://github.com/opentok/PhoneGap-Plugin
回答3:
Here is the complete library for android (chromium) hybrid app https://crosswalk-project.org/