摘要: 开始之前,让我们自己开始再熟练熟练OpenNI 2的基本使用,主要包括以下几个步骤:1. 初始化OpenNI环境:openni::OpenNI::initialize(); 2. 声明并打开Device设备:openni::Device devAnyDevice;devAnyDevice.open( openni::ANY_DEVICE ); 3. 创建并打开深度数据流:openni::VideoStream streamDepth;streamDepth.create( devAnyDevice, openni::SENSOR_DEPTH );streamDepth.start();4. . 阅读全文
posted @ 2013-01-11 18:14 叶梅树 阅读(12847) 评论(6) 推荐(3) 编辑