2016年4月26日 星期二

week10 張烝譯

第10週



作業 1 :



1.解壓縮 "my earth"


2.取出exe

 3.安裝Open CV2.1



 4.安裝中要選擇" add OpenCV to the system PATH for all users "


 5.freeglut/bin/freeglut.dll
拉到同一個資料夾



 6.從Google隨意找一張照片存成" image.jpg "


7.成果


作業 2 :

1.將執行檔與程式檔移出來


 2.右鍵選擇build option


3.進入畫面


4.選擇桌面上的freeglut裡的include


以及加入opencv2.1\include
 選擇" "


 5.選擇Linker
並加入freeglut裡的" lib "

以及加入opencv2.1\lib
6.Linker Setting
輸入" cv210 " " cxcore210 " " highgui210 "


7.將圖片複製到freeglut\bin裡 


 8.完成!


沒有留言:

張貼留言