Requirements for Kinect programming

谁说我不能喝 提交于 2021-02-05 20:31:48

问题


I wish to program with the Kinect ToF camera, however I am not certain of the hardware and software requirements to do so. I have come across a number of articles/books that cover this topic, but there seems to be some inconsistencies that have left me somewhat confused.

Questions

  1. What Kinect product do I need to buy to ensure that I have all the necessary components for using it for software development on a computer? (i.e. all cables included "in-the-box")

  2. What are the hardware requirements of the development system (cpu, ram, etc)?

  3. What are the drivers, development frameworks, and other software components for Kinect development? From these, what are needed, what are strongly recommended, and what are optional?

Please note that I do not want to be locked into developing within a Windows environment, although I would like the option to do so. I also have no intention of developing commercial applications at this time.


回答1:


  1. The Kinect sensor itself is all you need and by default it includes usb. You wouldn't need to buy a Xbox360 unless you want to play the Kinect Adventures :)
  2. I'm not entirely sure on hardware requirements, as it a bit on operating system and the library/driver/language you end up using, but it shouldn't be a major concern. I'm using mine on an older laptop (macbook from 2008 with 2GB of RAM,2.1 GHz processor and really bad integrated video card) with no problems.
  3. There quite a few choices, so I'll list them bellow

Drivers/libraries:

  1. As p.campbell mentioned, the Official Kinect SDK is one option. With that, you've got quite a lot of features avialable like skeleton tracking and speech recognition, but you're constrained to Windows and .NET.

  2. one other option is the opensource OpenKinect/libreenect driver which runs on osx/windows/linux and has wrappers for quite a few languages (like actionscript,c#,java,matlab,python,ruby,etc.), but bare in mind this gives access to the device(rgb/depth/ir data, accelerometer data,led/motor access), but doesn't include complex algorithms like skeleton tracking/speech recognition.

  3. another opensource option is OpenNI (that runs on linux/windows/osx) which allows you to access rgb/depth/ir data, but currently there's no implementation for motor/led/accelerometer/audio. Still, it includes skeleton tracking, hand tracking and also gesture recognition. You can use OpenNI with C/C++/Java/.net/Unity3D

If you are used to creative coding environments, there are wrappers for most of them also:

  • OpenKinect Processing and SimpleOpenNI for Processing
  • ofxKinect or ofxMSKinect for openframeworks
  • Kinect Block for Cinder
  • jit.freenect for MaxMSP/Jitter

Depending on what OS/language and Kinect features you need to use, you should be able to make your choice.

Also note that if you can use OpenNI with other depth cameras like Asus Xtion.




回答2:


  1. There are two kind of Kinect Sensor: the Kinect Sensor for XBox and the Kinect Sensor for Windows.If you alreay have Xbox and its accessory Kinect Sensor for XBox,you can use it .If you want to develop for commercial ,you should buy a Kinect Sensor for Windows.The Kienct Sensor for Windows have some amazing features such as Near Model while Kinect Sensor for XBox didn't have. And the Kinect Sensor for Windows are more compatible with the Official Kinect SDK.

  2. I develope Kinect application on Windows and the system minimum requirement are :

    • Windows 7, Windows 8, Windows Embedded Standard 7, or Windows Embedded POSReady 7.
    • 32 bit (x86) or 64 bit (x64) processor
    • Dual-core 2.66-GHz or faster processor
    • Dedicated USB 2.0 bus
    • 2 GB RAM

    I am not familiar with other platform,but i thinks the hardware requirements are more or less same.

  3. For drivers,as far as I know,there are two popular driver for Kinect sensor: Official Kinect SDK and Primesense OpenNI ,those two driver provide api that has their own characteristics,but there are some tips about which one should be best at some circumstances:

    • If you are want to develop Kinect application on Windows platform,I strongest suggest you use the newest Kinect SDKs for Windows 1.6.It has a plent of documentary and Demo int the DevelopToolKit ,and have Kinect Studio helps you to debug during application.The Channel9 website has a special block on Kinect development which has a lot of examples and ideas about Kinect development. Kinect SDKs for Windows 1.6 support the Windows 7/Windows 8 OS. The only drawback is that Kinect SDK only support Windows platform. But from the SDK 1.6,it supprot the windows runing on virtual machine such as Microsoft HyperV,VMWare and Parallels.

    • If you want to develop on other platform ,OpenNI maybe the best choice.




回答3:


According to my experiments on ARM based Linux environment, 720 MHz+ single core CPU is enough for just continuous polling the data and read its properties. At least 1.5 GHz CPU is needed for grabbing the depth data into RAM and process it basically. I am using dual core OMAP-4 Core(1.2 GHz each). Actually, this process power is enough for me to grab depth + image data, downsample/compress them (with loss) and send them via TCP/UDP.

There is various libraries for Kinect. MS SDK and OpenNI are the most common ones. If you will use Linux environment, I would suggest OpenNI.

I've prepared a guide for this installation. You can check at http://denizbeker.blogspot.com/2013/08/pandaboard-es-openni-kinect-ubuntu.html




回答4:


  1. Kinect comes with all of the cables needed, you only need to buy the power supply if you already had a kinect without a power supply
  2. If your going for the kinect sdk microsoft has all the requirements on their website
    3.Its really your choice, if you search kinect programs or something to that effect it will come up with lots. you just have to choose which one suits you the best

Hope This Helps



来源:https://stackoverflow.com/questions/9559220/requirements-for-kinect-programming

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!