2013年3月6日 星期三

Week3 Hw03 98160425 蔡博堯

本日進度~OPEN_NI的安裝


今天因為版本的問題無法順執行PROCESSING 所以我努力地嘗試將WIN32位元灌上終於成功啦
心得:真的很好玩!

Hw2

寫 OpenCV 程式碼讀圖檔 




練習用 OpenCV得到視訊


2013_03_06 Week03 98160876鄭雅軒(Vic)


TODO:
1. 下載 google:Simple-openni
1.1. SimplrOpenNI-0.27.zip
1.2. OpenNI_NITE_Installer_win32-0.27.zip
2. 安裝:
2.1. OpenNI
2.2. Nite
2.3. SenserKinect
3. SimpleOpenNI 解在Processing的Libraries
processing 穩定 stable版 1.5.1版
二選一: 1. processing-1.5.1/modes/java/libraries/ 放 SimpleOpenNI
              2. 文件/provessing-1.5.1/Libraries/ 放 SimpleOpenNI
成果圖片:

心得:
因為Windows位元版本問題,使得大家在課堂上停滯了很久最後才完成。

99160522沈奕均 Week03 HW03

今天的目標:


Processing+SimpleOpenNI+KINECT

(都安裝32-bits)

(1)下載安裝 Processing 1.5.1

(2)下載安裝 SimpleOpenNI、OpenNI_NITE-Installer解壓縮後的安裝順序

 (3)安裝完後把SimpleOpenNI這個資料夾放進Processing的資料庫裡
      方法有兩種 a.在我的文件新增資個叫"libraries"的資料夾,把impleOpenNI資料夾放入
                           b.在Processing-1.5.1/modes/java/libraries
一切準備就緒後我們快點來看看範例吧
選了幾個範例
a.AlternativeViewpoint3d

b.Scene


c.User3d

(4)Processing有趣的範例下載,下載後放置的位置如同SimpleOpenNI

PS:解壓縮時要自行新建一個資料夾檔名稱要打對唷!
弄好後我趕緊來試試範例如何
我選擇了兩個有趣的範例玩玩
a.MASFluid


 b.HelloMarchingCubes

今天的心得:
過程十分艱辛,因為環境的不同安裝了很久~~不過因為親自想辦法解決問題,讓我們對安裝的過程映像又更是深刻了,多遇幾次問題相信我們的解決問題的能力一定會大大堤提升,下次上課是業師來上課,很期待下次上課的內容喔~(PS大家準時點到給業師好印象^皿^)

Week03,HW03,99160494_陳孟琳

TODO:
1、(1)google " Simple-Openni "。



1、(2)下載 " Simple-OpenNI-0.27.zip "、
                   " OpenNI-NITE-Installer-win32-0.27.zip "。





2、安裝順序如下:
      (1)OpenNI
      (2)Nite
      (3)SenserKinect



 3、SimpleOpenNI-0.27解壓縮在Processing-1.5.1\modes\java\libraries。
      下載Processing穩定Stable版:選擇 " 1.5.1 版 "。





執行結果:

圖一
圖二、user3d(一人)
圖三、user3d(兩人)
圖四
圖五

心得:
 由於我們一開始是下載64位元的 OpenNI,但是processing-1.5.1是32位元的,所以不能互  
 相搭配。
 解決方法:
 如果64位元的OpenNI無法執行,下載32位元的OpenNI,搭配32位元的processing-1.5.1。

  **OpenNI-NITE跟processing-1.5.1一定要相同位元的版本**



Week03 葉正聖老師示範

今天目標: 可以使用 SimpleOpenNI 來在 Processing 環境下使用 Kinect體感裝置

1. 下載 Processing 1.5.1 穩定stable版

2. 下載 SimpleOpenNI-0.27.zip 及 OpenNI_NITE_Installer-win32-0.27.zip
http://code.google.com/p/simple-openni/downloads/list
2.1. 小心, 有些同學遇到 32bit vs. 64bit 的問題, 經測試,全部都用32bit 的話可以成功

2.2. google: Simple-OpenNI


3. 安裝 OpenNI_NITE_Installer-win32-0.27.zip 解壓縮
3.1. 先裝 OpenNI
3.2. 再裝 NITE
3.3. 再裝 SensorKinect (因為我們教室是使用 Kinect, 一人一機)
3.4. 最後裝 Kinect接上去,找到裝置,即成功

4. 將 SimpleOpenNI 這個 Library 裝在 Processing 的對應目錄中 (兩個目錄擇一來放)
4.1. 文件/Processing, 建 Libraries 目錄後, 把 SimpleOpenNI 目錄放入 Libraries目錄中
4.2. 或放系統目錄  processing-1.5.1\modes\java\libraries, 把 SimpleOpenNI 放進去
4.3. 重新開啟 Processing, 便可以在 File-Examples 裡面,在最下面看到 SimpleOpenNI 函式庫(Library)
4.4. 如果有問題,可參考 http://wiki.processing.org/w/How_to_Install_a_Contributed_Library

5. 試玩 SimpleOpenNI 範例
5.1. Processing選 File-Examples 裡面最下面的 SimpleOpenNI
5.2. 試 SimpleOpenNI-OpenNI-DepthImage
5.3. 試 SimpleOpenNI-OpenNI-Hands3d
5.4. 試 SimpleOpenNI-Nite-Hands

6. 試其他的 Processing 函式庫 (Libraries)
6.1. http://processing.org/reference/libraries/
6.2. 試 MSAFluid http://www.memo.tv/msafluid/
http://s373.net/code/marchingcubes/#download
6.3. 試 marchingcubes (有 voxel建模)
6.4. 試 controlP5 (有按鈕及各式介面)

7. 其他
7.1. 看看正在開發中的新的 SimpleOpenNI 原始碼 http://code.google.com/p/simple-openni/source/browse/#svn
7.2. 出現 Link 問題時(Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError??: )
請見 http://code.google.com/p/simple-openni/wiki/Installation 裡面(最下面)有討論
If you get issues with not being able to find the SimpleOpenNI library you probably are using 32 bit Java on a 64bit system. You can have a 64bit system but download everything in 64bit without updating your java then you'll get that error. I think it should work if you either get 64bit java or just download everything in 32bit. Just get everything to match.
就都使用 32bit 即可解決


99161082_徐文玲, HW02, Week02

1.環境設置
下載/安裝 OpenCV
然後開啟 Visual C++
Win32 主控台應用程式(要記得取消先行編輯標頭檔)

設定 Project 的屬性


Include 目錄 增加 C:\OpenCV2.1\include;
程式目錄 增加 C:\OpenCV2.1\lib;
Link Input 增加 cv210.lib; cxcore210.lib; highgui210.lib;




2.顯示圖片


3.使用Webcam顯示視訊


4.心得
執行程式前的設定比較麻煩,會因為多一個空格而不能執行
設定完成後,程式碼還可以理解!!