问题描述
我正在考虑在我的项目中使用Kinect,但是在所有库之间我完全迷路了.不知道到底是什么.最重要的是,我正在阅读有关OpenNI和OpenKinect的文章.但是不知道他们的关系/差异. PS.我正在使用Ubuntu或Mac.
I am considering using Kinect in one my projects, but I am totally lost between all the libraries. Don't know what is what exactly. Most importantly I am reading stuff about OpenNI and OpenKinect. But don't know their relation/differences. PS. I am using Ubuntu or Mac.
推荐答案
OpenKinect 是一个人的社区,而不是图书馆. OpenKinect社区发布了 libfreenect Kinect驱动程序. libfreenect和OpenNI + SensorKinect是两个相互竞争的开源库/驱动程序. libfreenect(Apache 2.0或GPLv2)源自最初的反向工程/黑客入侵的Kinect驱动程序,而OpenNI + SensorKinect源自开源(LGPL)PrimeSense代码.
OpenKinect is a community of people, not a library. The OpenKinect community releases the libfreenect Kinect driver. libfreenect and OpenNI+SensorKinect are two competing, opensource libraries/drivers. libfreenect (Apache 2.0 or GPLv2) derives from the initial, reverse-engineered/hacked Kinect driver whereas OpenNI+SensorKinect is derived from open sourced (LGPL) PrimeSense code.
两个项目都可以在Windows,Linux(Ubuntu)和Mac OS X上运行.这两个项目都允许您从相机访问彩色和深度图像.这些项目不兼容,不能同时使用.
Both projects work on Windows, Linux (Ubuntu), and Mac OS X. Both projects allow you to access color and depth images from the camera. The projects are not compatible and they can not be used simultaneously.
库之间的差异是电机控制(libfreenect有,而OpenNI + SensorKinect没有),并且与NITE中间件集成以提供更高级别的NUI支持(仅OpenNI + SensorKinect).这些差异倾向于将项目推向其中一个库.
Differences between the libraries are motor control (libfreenect has it, OpenNI+SensorKinect doesn't), and integration with the NITE middleware for higher-level NUI support (OpenNI+SensorKinect only). These differences tend to drive projects towards one of the libraries.
这篇关于OpenNI和OpenKinect有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!