Profile cover photo
Profile photo
劉彥麟
7 followers
7 followers
About
Posts

Post has attachment
[OpenCV C++] GrabCut 介紹
        OpenCV  中的 GrabCut 算法是依據《 "GrabCut" - Interactive Foreground
Extraction using Iterated Graph Cuts 》這篇文章來實現的。該算法利用了圖像中的顏色和邊界,只要少量的交互操作即可得到比較好的分割結果。              GrabCut ,主要功能是分割前景和背景。           1 )你只需要在目標外面畫一 ​​ 個框,把目標框住,它就可以完成良好的分割:    2 )如果增加額外的用戶交...
Add a comment...

Post has attachment
[Android] Usb debug can't find device
因為換了一台新電腦,然後發現我在用 USB進行 DEBUG 時候,一直沒罷法抓到裝置,後來發現是因為新電腦沒辦法抓到新的 Driver [解決方法] Make your own driver        1.Go to Dedevice manager and find the hardware id code(先到裝置找到硬體描述碼)                     2.Go to this path to rewrite this file (   修改這份資料)               \...
Add a comment...

Post has attachment
[Project-web]Front end web final project
這是一堂網頁設計的期末專題 雖然老師進度緩慢,但是我從零到有,並偷懶從bootstrap開始學起,從中真的學到非常多的東西,像是html 相關標籤語言,利用css來達成美化和版面配置,最後一些滑動點擊事件處理利用jQuery,很開心完成自己從以前就想學習怎麼實作的想法,感謝自己有勇氣修這堂課. This is my web design courses final project. In this part we are going to show the front end part.Although te...
Add a comment...

Post has attachment
[Android] EditText close the default pop-out keyboard 關閉鍵盤自動跳出
Method:  在AndroidMainfest.xml中把windowSoftInputMode把屬性設成 adjustUnspecified|stateHidden Go to Mainfest.xml choose your activity and type android:windowSoftInputMode="adjustUnspecified|stateHidden" < activity android:name=" .Main "
android:label="@string/app_...
Add a comment...

Post has attachment
[OpenCV C++]Load Image 圖片開啟
cvLoadImage() 載入圖片的意思
IplImage* cvLoadImage("檔案名稱",參數);
參數的部份可以參考命名規則的說明,回傳的訊息是IplImage資料結構,它的參數分類有

#define CV_LOAD_IMAGE_UNCHANGED -1 原圖影像
#define CV_LOAD_IMAGE_GRAYSCALE 0 灰階
#define CV_LOAD_IMAGE_COLOR 1 彩色
#define CV_LOAD_IMA...
Add a comment...

Post has attachment
[Eclispe]加上自動提示(Intellisense)程式碼
When u build an new environment!!! Don't forget to set Eclipse Intellisense. it will help u a lot haha!! 打一打沒有提示字真得好難,這次來分享自動提示 Solution: Windows -> Preferences -> Java -> Editor -> Content Assist Auto activation triggers for Java keyin                     ...
Add a comment...

Post has attachment
[Eclipse] console font size
Sometime i will forget how to resize my console font size in my eclipse!! Solution window > preferences> general -> appearance -> colors and fonts ->debug -> console font 
Add a comment...

Post has attachment
【Android】Redering Problems Missing Styles
After i update my Android Studio , my XML always show   Rendering Problems Missing Style 今天在 升級 版的 Android Studio 後,在建立新應用程式後,都會出現下列的問題畫面: Solution: 【File】→【Invalidate Caches / Restart...】:
Add a comment...

Post has attachment
[Android] java.io.FileNotFoundException AND android.os.NetworkOnMainThreadException!!
Android 4.0 has a new Exception in NetWork part.So if you request it. You will get a  android.os. NetworkOnMainThreadException!! Android4.0在網路的部份多了一個新的Exception, 叫做android.os. NetworkOnMainThreadException 意思就是說:網路的活動跑在主要執行緒上了,很貼心的告訴你,這樣子你的APP可能會因為網路的活動等待回應太...
Add a comment...

Post has attachment
[C++]VECTOR ALLOCATION
Basis Define:vector<int> array; Two dynamic vector +initialize  0: vector<vector<int> > array; array.resize(y, vector<int>(x, 0)); OR vector<vector<int> > array(y, vector<int>(x, 0)); ** vector<vector<int> > array(y, vector<int>(x));//ALSO '0'
Add a comment...
Wait while more posts are being loaded