跳到主要內容

Augmented Reality(AR)擴增實境要起飛囉...

因為公司每年都會舉辦創新競賽,讓大家可以提一些點子,看看有沒有市場機會,雖然我覺得技術創新遠比市場機會大,可是偶也不是老大,又為了獎金,所以囉為了五斗米折腰,原本是要提的是PhoneGap(之後也會介紹,是個好物啊!),結果在搜尋時看到了wikitude ,就一路的看到AR這技術,它不算是新技術,很早就有人提出來了,但是隨著行動裝置的流行,這技術也被重新吵起來,然後Google Glass也算是推力。

它的概念其實是透過設備如手機上相機、眼鏡、CCD,將所看到的真實且即時的影像,混合虛擬的東西,如看到的人頭上找出角,戴上皇冠或是加上鬍子等等,如AR ToolkitAR tag,若是在加上GPS及Compass,就可以增加區域地點及距離的判斷,如mixare、wikitude、DroidAR





先介紹一下wikitude,網站上有提供SDK,目前有三種行動裝置的平台可以用,Android、iOS、BlackBlerry 10,也有PhoneGap的plugin,也就是可以走Hybird App的方式,進到網站可以看看showcase,最讓我感到興趣的是冰原歷險記的遊戲,大致上AR的應用遊戲是一個很好的方向;AR ToolkitAR tag 有滿完整的API可以玩玩看,而且又是Open Source,不過相關的演算邏輯倒是很複雜,建議知道如何拿來用就好。

mixare 我個人認為是AR入門首選,因為有搭配行動裝置及資料格式有JSON,很容易與Web Ap搭配起來,稍稍修改一下增加一些圖像,就可以做出一些東西出來,之後陸續會先以這個來介紹AR。

metaio這最近才開始碰,跟wikitude很像,showcase的idea倒很實用。
最後總結一下,AR技術不會很困難,但他可提供出創意的腦力激盪,我個人認為AR一定很好用,但是創意則是出線的關鍵。

下一篇就來介紹 mixare的使用囉。

留言

這個網誌中的熱門文章

IReport中的條碼類別BcImage

最近有一個繳費單的專案,需要列印條碼,因為IReport本身就有提供列印條碼的功能,所以就用IReport設計繳費單然後再用Jasperreport API寫批次程式去產生PDF,資料量大概3000多筆(頁)拆成幾個檔案,可是就發生了一個問題居然發生部分繳費單的條碼有問題,看了一下程式研判是Race Condition因為程式採用的是多執行緒,若是依序個別產生是不會有問題,但是同時執行的時候就會亂掉,而且都錯在條碼,令我覺得很奇怪,後來我查了一下發現it.businesslogic.ireport.barcode.BcImage 類別我猜是這裡的問題,就先加上synchronized重新編譯在去執行,嘿嘿條碼就對了,做了一下壓測也正常,程式碼如下,不過這樣事不是對了可能還要仔細查查看。 public class BcImage { private static net.sourceforge.barbecue.Barcode bc = null; public synchronized static net.sourceforge.barbecue.Barcode getBarcode() { return bc; } public synchronized static BufferedImage getBarcodeImage(int type, Object aText, boolean showText, boolean checkSum) { return getBarcodeImage(type, aText, showText, checkSum,"",0,0); } public synchronized static BufferedImage getBarcodeImage(int type, Object aText, boolean showText, boolean checkSum, String applicationIdentifier, int width, int height) { // 2of7, 3of9, Bookland, Codabar, Code128,...

IBM MQ 5.3 如何匯出Qmgr

使用IBM MQ探險家也沒有匯出的功能,這樣其實在一些備份或是Cluster時,滿困擾的,不過你也知道IBM就是喜歡用SupportPacs等等的方式,ms03這個SupportPacs就是可以匯出Qmgr中所有的資訊也可以選擇想要的,以下是他的連結 http://www-1.ibm.com/support/docview.wss?rs=171&q1=mA1J&uid=swg24000673&loc=en_US&cs=utf-8&lang=en 若是Window的版本可以直接使用,若是unix或是linux系列的就請重新編譯了﹝makeFile﹞我有試過在RHEL編譯使用是可以的。 ※請注意一定要在有安裝MQ的Server方可執行喔 使用方式如下: saveqmgr -m xxx -v 53 -o xxx.cfg -m 指定需要匯出的Qmgr名稱 -v 版本 -o 匯出後檔案名稱 以下是相關參數的列表 Usage is: ./saveqmgr. [options], where [options] are one or more of the following optional switches -h | -? : gives help (this) -v version : determines which version of MQSC to generate and can be '2','5','51','52','53' or '6' The default is to generate mqsc at the version of the connected queue manager -m lqmgr : is the name of the local qmgr to connect (MQCONN) -r rqmgr : is the name of the remote qmgr (XMITQ name) -f [file] : allows the output file to be named, if -f is not specified, the outpu...

Ext-Js Grid + DWR

Ext-Js中有Grid的sample,想說試試看加上DWR的效果如何?感覺上還不錯,以下是我參考Ext-Js附的grid array sample,加上DWR調整一下的code,我想可能還要加上資料在Loading的效果會比較好。 array-grid.js Ext.onReady(function(){ Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); // example of custom renderer function function change(val){ if(val > 0){ return ' ' + val + ' '; }else if(val ' + val + ' '; } return val; } // example of custom renderer function function pctChange(val){ if(val > 0){ return ' ' + val + '% '; }else if(val ' + val + '% '; } return val; } //要設定Dwr傳回的Map的對應格式 var recordType = Ext.data.Record.create( [ {name:"reportid",mapping:"reportid",type:"string"}, {name:"reportName",mapping:"reportName",type:"string"} ] ); var myReader = new Ext.data.JsonReader( { totalProperty:"totalSize", root:"data" },recordType ); // create the data store //這裡是很重要的,這裡還可以加上listener等等的屬性喔 var store = new Ext.da...