Sample project for creating Mobile Augmented Reality Mobile Apps for the BlackBerry 10 platform available at https://github.com/georgemck/BB10-WebWorks-Community-Samples-Augmented-Reality
Uses:
– BlackBerry WebWorks (App packaging)
– jQuery Mobile (Mobile UI)
– Three.js (WebGL)
– JS Aruco (OpenCV)
– getUserMedia (HTML5 spec)
Created a mobile AR app using Apache Cordova, https://cordova.apache.org, which is related to Adobe PhoneGap, http://www.phonegap.com. This mobile app uses the JS Aruco library, https://code.google.com/p/js-aruco. JS Aruco is a port of OpenCV, http://opencv.org, for JavaScript, https://www.uco.es/investiga/grupos/ava/node/26 It takes advantage of HTML5 browser capabilities getUserMedia (https://caniuse.com/stream) and WebGL (checkout Three.js, https://github.com/mrdoob/three.js) to enable desktop browsers to create augmented reality using JavaScript.
First, I used Google’s Chrome Browser to verify the web application worked on the desktop. This got me thinking about the recently released BlackBerry 10 phones and their heavily touted “better than desktop Chrome” mobile browser, and I thought I would give it a try. Heading over to one of the JS Aruco demos, https://inmensia.com/files/aruco/debug-posit/debug-posit.html, in the Z10′s mobile browser, it worked. I decided to take things a bit further and actually build a mobile app rather than use the website application. I used WebWorks which is the BlackBerry-engineered Cordova PhoneGap distribution with deeper integration with device capabilities than Cordova on BlackBerry mobiles. The result of the test was this video, http://www.youtube.com/watch?v=eb10iE…. Performance is a little slow and the video a bit hazy but I know it will perform better with some code optimization… (more http://www.georgemckinney.com/2013/05…)
Special thanks to:
– Juan Mellado https://github.com/jcmellado
– Mr.doob https://twitter.com/mrdoob
– Justin Lee deleted his account (https://twitter.com/triplez82)
– Yosun Chang https://twitter.com/yosun
Enjoy,
George @georgemck