2014年3月27日 星期四

Microsoft Kinect for Xbox360

http://kheresy.wordpress.com/2012/03/15/2012_openni_env_kinect_setup/

Microsoft Kinect for Xbox360
不過如果是使用 Microsoft Kinect for Xbox 360 的話,官方的驅動程式並不能直接支援,還需要另外去安裝修改過的驅動程式!目前一般都是使用 avin2 這位網友所修改出來的「SensorKinect」模組,他的網頁是
在這個頁面裡面,點選「Bin」後,就可以看到已經編譯、封包完成的 SensorKinect 硬體模組的安裝檔(頁面);而如果是一般使用的 32 位元的話,就是點選「SensorKinect091-Bin-Win32-v5.1.0.25.msi」進入頁面下載,64 為原則就是點選「SensorKinect091-Bin-Win64-v5.1.0.25.msi(一樣,版本編號可能會變化)來下載。

SensorKinect

OPENNI SDK

OPENNI SDK

OpenNI:讓 PC 認識 Kinect


How-to: Successfully install Kinect on Windows (OpenNI and NITE)
http://www.openni.org/openni-sdk/


mportant - Software downloads will continue to be available until April 23rd, 2014 at which time the OpenNI website will be closed.

Related Information:

Kinect 開發學習筆記之(一)Kinect 介紹和應用

Kinect 開發學習筆記之(一)Kinect 介紹和應用 

Kinect SDK - (2) 設定開發環境-Setting Up Your Development Environment



但是由於微軟官方並沒有提供給 Windows 用的驅動程式,所以直接接上去後,是沒辦法直接使用的。為了要讓 Kinect 能讓 Windows 上正常運作,就要有修改過、給 Kinect 用的驅動程式才行了

無法連上 Kinect

Kinect for Windows Runtime v1.8

测试程序


The Kinect for Windows SDK 





在 VS2010 中配置開發環境
 要使用 VS 進行開發的話,需要設定 include 和 lib 路徑。
進入 VS,進入項目屬性,在 Projects and Solutions 中,選擇 VC++Directories。
假設 Kinect 是安裝在預設路徑下,則
(1)Include files 加入 C:\Program Files\Microsoft SDKs\Kinect\v1.6\inc;
(2)Library files 加入 C:\Program Files\Microsoft SDKs\Kinect\v1.6\lib\x86;
(3)還需要在 Linker 的輸入中,增加附加依賴性:Kinect10.lib
這樣 VS 的開發環境就設定好了。
 下面我們看看 Kinect 的開發包含哪些 header 檔:
C:\Program Files\MicrosoftSDKs\Kinect\v1.6\inc 目錄下有:
NuiApi.h ---包含所有的 NUI(自然用戶界面) APIHeader 檔和定義基本的初始化
和函數訪問入口。這是我們 C++工程的主要標題檔(header file),它已經包含了
NuiImageCamera.h 和 NuiSkeleton.h。
NuiImageCamera.h ---定義了圖像和攝影機服務的 API,包括調整攝影機的角度
和仰角,打開數據串流和讀取數據串流等。
NuiSkeleton.h ---骨架有關的 API,包括使能骨架追蹤,獲取骨架數據,骨架數
據轉換和平滑渲染等。
NuiSensor.h ---音頻 API,包括 ISoundSourceLocalizer 介面,用於回傳聲源的
方向(波束形成)和音頻的位置。

OpenCV 是 Intel 的開放原始碼電腦視覺函式庫。它由一系列 C 函數和少
量 C++ 類構成,實現了圖像處理和電腦視覺方面的很多通用演算法。
主頁:http://opencv.org/
 最新版本是 OpenCV 2.4.3,屬於比較穩定的版本。但是我電腦已經配置
了 2.3.0 版本了,所以暫時就用 2.3.0,他們的 API 的名稱都一樣,所以基於 2.3
的程式在 2.4 應該不用怎麼修改就可以用。
這裡,我們用到 OpenCV 來顯示和處理獲取到的顏色和深度圖像等,所以也需
要將其添加進 Project 裡面。和上面的過程一樣(你安裝的目錄可能不一樣,請
按實際情況操作):
(1)Include files 加入 D:\opencv2.3.0\OpenCV2.3\build\x86\vc10\bin;
(2)Library files 加入 D:\opencv2.3.0\OpenCV2.3\build\x86\vc10\lib;
(3)還需要在 Linker 輸入中,增加附加依賴性:
opencv_highgui230.lib
opencv_highgui230d.lib
opencv_core230.lib
opencv_core230d.lib
opencv_video230.lib
opencv_video230d.lib
opencv_imgproc230.lib
opencv_imgproc230d.lib
其他的在需要的時候再添加了。
 好了,到這裡,環境都設定好了,下一步就可以步入 Kinect 開發這個精彩
的世界了。
 Kinect 開發學習筆記之(四

How to take kinect video image and depth image with openCV c++?

How to take kinect video image and depth image with openCV c++?




Kinect and OpenCV 2.1

3D-Scanning Tutorial Artec Studio and Kinect Scanner

3D-Scanning Tutorial Artec Studio and Kinect Scanner

KScan3D

How It Works

With KScan3D, you can quickly and easily scan, edit, process, and export data for use with your favorite 3D modeling software. Here's how it works:

3D Scanner Software for Microsoft Kinect or Asus Xtion Sensor


Kinect and Xtion sensors gather data.

KScan3D converts this data into a 3D mesh.

Capture data from multiple angles to create a complete 360 degree mesh.
KScan3D can capture and align 3D meshes automatically.

Once you've captured the data you need, you can use KScan3D to delete unneeded points, smooth data, and more.

KScan3D also allows you to combine and finalize meshes with a number of customizable settings to help you get the results you need.

You can export final meshes in .fbx, .obj, .stl, .ply, and .asc formats for use with your favorite 3D modeling software.
Use exported meshes for visual effects, games, CAD / CAM, 3D printing, online / web visualization, and other applications.

Visit our Gallery to view and download sample scans we've captured in-house with KScan3D.


Chair

Hockey Player

Model

Vase

Inukshuk