问题标签 [openni]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
725 浏览

kinect - What frameworks for depth cameras are out there?

I want to evaluate the performance of several SDKs / frameworks for depth cameras. These cameras can either be using Time-of-Flight or structured light. The framework should be capable (at least) of person tracking / blob detection and gesture recognition. So far I found the following frameworks:

Are there any other frameworks I should be aware of?

EDIT: I found this article by Techradar that seems to indicate that these are indeed the only options currently available.

Any feedback would be very much appreciated!

0 投票
1 回答
2622 浏览

processing - 使用 Kinect/SimpleOpenNI + 处理深度模拟按钮按下

我正在使用带有 Simple OpenNI 和处理的 Kinect,并且我试图使用手的 Z 位置来模拟按钮按下。到目前为止,当我用一只手尝试它时效果非常好,但是,当我尝试让它用另一只手工作时,只有一只手可以工作。(我知道通过移动除 if 语句的填充之外的所有内容会更有效,但我将它们保留在那里以防万一我想更改大小或其他内容。)

irz 和 ilz 是手在第一次被 onCreateHands 识别时的初始 Z 位置,而 rz 和 lz 是当前 Z 位置。到目前为止,代码可以用一只手正常工作,但另一只手将保持按下或未按下。如果我将其中一个部分注释掉,它也可以正常工作。

我尝试输出 rz - irz 和 lz - ilz 的值,对于 lz - ilz,数字范围从小的负值到小的正值(大约 -8 到 8)。但是 rz - irz 输出的数字在 8-30 左右,具体取决于我每次运行它的时间,而且从来都不是一致的。此外,当我注释掉 lz-ilz 的代码时,rz-irz 的值看起来还不错,并且可以按预期运行。跟踪两个 Z 位置是否有理由让一只手丢掉?有没有办法让它工作?

谢谢!

0 投票
1 回答
11674 浏览

processing - kinect/ processing / simple openni - point cloud data not being output properly

I've created a processing sketch which saves each frame of point cloud data from the kinect to a text file, where each line of the file is a point (or vertex) that the kinect has registered. I plan to pull the data into a 3d program to visualize the animation in 3d space and apply various effects. The problem is, when I do this, the first frame seems proper, and the rest of the frames seem to be spitting out what looks like the first image, plus a bunch of random noise. This is my code, in its entirety. It requires simple openni to work properly. You can see the comments

I imagine the loop is where the problems begin occurring: for(int y=0;y < context.depthHeight();y+=steps) { , etc. although it could just be a problem with the python script I wrote for the 3d program. Anyway, this is a cool sketch, and I think would be super useful for anyone wanting to do 3d effects to point cloud data (or build models, etc), but I'm stuck at the moment. Thanks for your help!

0 投票
3 回答
5858 浏览

kinect - 使用点云库存储来自 Kinect 的点云

在 Ubuntu 上使用点云库,我试图从 Kinect 中获取多个点云并将它们存储在内存中以供以后在程序中使用。我在这篇文章底部显示的代码旨在存储来自 Kinect 的第一个点云并输出其宽度和高度。该程序给了我一个运行时错误:

非常感谢所有帮助,我总是接受答案!

编码:

0 投票
1 回答
2756 浏览

opencv - OpenCV OpenNI 校准 kinect

我用 home 通过 kinect 捕捉:

现在我不知道是否必须校准 kinect 才能使深度像素值正确。也就是说,如果我从图像 RBG 中获取一个像素(u,v),那么从图像深度中获取像素(u,v)得到正确的深度值?

任何帮助深表感谢。谢谢!

0 投票
1 回答
1587 浏览

3d - simple-openni / processing - 仅在某个 z 深度记录

我正在关注 simple-openni 库中的 RecorderPlay 示例进行处理:

http://code.google.com/p/simple-openni/

它记录到 ONI 文件,一种保留深度和 rgb 信息的视频格式。但目前,它捕获了整个图像,我希望能够仅捕获某个 z 深度范围。有谁知道这是否可能?

0 投票
2 回答
1042 浏览

c++ - 在 NITE 和 OpenNI 上使用 makefile 编译 PointViewer

我目前正按时使用 kinect openNi 和 NITE。事实上,我检测到手的位置,例如手是否在你的头上?为此,我需要更改 NITE 的 PointViewer。

但是,当我修改代码时无法编译。

事实上,当我在文件 PointViewer 中进行制作时,如果有错误,编译器会将它们全部报告给我,但是当我接近更正时,我发现书店的未定义参考错误实际上 Glut 就像他没有被包括在内,而对我来说,这是因为在 PointViewer 修改代码之前有效。

我已经安装了 freeglut3-dev 并包含了库和 . 如您所说,在建立链接时会出现问题。是否有任何编译器选项可以使链接成功?如何在 makefile 中添加编译器选项以便它可以找到 GLU 库在哪里?

你知道这可能是什么吗?

在这里我要注意:

提前致谢

0 投票
0 回答
1494 浏览

kinect - `.oni` 样本/测试文件资源

是否有任何在线示例.oni文件资源可用作使用 OpenNI 框架和其他自然交互设备的应用程序的测试数据?

例如,如果有一个资源有一个、两个、十个人,那就太好了。如果没有,这似乎很奇怪或很遗憾,除非开发人员喜欢在他们的 Kinect 前反复跳舞。

从匹兹堡大学找到了两个,我目前正在研究 OpenNi 源代码/测试。

0 投票
1 回答
4626 浏览

c++ - 使用 OpenCV 和 OpenNI 测量 2 点之间的距离

我正在使用 OpenCV 2.4.0 中的内置 OpenNI 访问,我正在尝试测量深度图中两点之间的距离。到目前为止,我已经尝试过:

但我有几个问题:

  1. 除非我首先检查有效深度掩码中的值,否则程序有时会崩溃(我想是由于数据错误)
  2. 据我了解,点云图以米为单位返回 XYZ 数据(CV_32FC3),但我在屏幕上看到的数字看起来不对。

我是否使用正确的方法来检索 xyz 值和计算距离?

我可能遗漏的任何细节?

0 投票
1 回答
396 浏览

openni - _xnForceShutdown openni 符号未找到

我一直试图让 OpenNI 在我的 Mac OS X 10.7 上工作。我从 openni.org 安装了 OpenNI、NITE 和 Sensor 的最新不稳定二进制文件。OpenNI 中的(预编译)示例运行良好,但是一旦我自己编写了一些东西,它就会开始失败。例如,见下文:

架构 x86_64 的未定义符号:“_xnForceShutdown”,引用自:sample.o 中的 xn::Context::SetHandle(XnContext*) “_xnContextUnregisterFromShutdown”,引用自:sample.o 中的 xn::Context::SetHandle(XnContext*) "_xnContextRelease",引用自:xn::Context::SetHandle(XnContext*) in sample.o "_xnContextAddRef",引用自:xn::Context::SetHandle(XnContext*) in sample.o "_xnContextRegisterForShutdown",引用自: xn::Context::SetHandle(XnContext*) in sample.ol ld: 未找到架构 x86_64 collect2 的符号: ld 返回 1 退出状态 make: * [AsusCamera] 错误 1

我的代码如下:

请帮我。我已经尝试过多次重新安装库。