kinect-v2

Joint rotation using Unity Kinect v2 SDK

一个人想着一个人 提交于 2021-01-29 19:53:52
问题 I am trying to make my 3d humanoid model follow the movements i do in front of my kinect v2, i used this in my script and applied it to every part of my model(hands,legs,shoulders...) changing each time the TrackedJoint to the one that matches: var tarx = body.JointOrientations[TrackedJoint].Orientation.X; var tary = body.JointOrientations[TrackedJoint].Orientation.Y; var tarz = body.JointOrientations[TrackedJoint].Orientation.Z; var tarw = body.JointOrientations[TrackedJoint].Orientation.W;

Index was outside the bounds of the array in Kinect v2

这一生的挚爱 提交于 2019-12-24 10:49:38
问题 I am trying to get the RGB values of each CameraSpacePoint in Kinect v2. I an able to acquire the CameraSpacePoints and Color pixels. But it seems that the mapping from CameraSpacePoints to Color pixel is broken in my code, which is leading me to IndexOutOfRangeException. Please see the code snippet below showing data collection part: var depthWidth = depthFrame.FrameDescription.Width; var depthHeight = depthFrame.FrameDescription.Height; ushort[] depthData = new ushort[depthWidth *

Kinect V2 Depth Frame Pixel Size

◇◆丶佛笑我妖孽 提交于 2019-12-23 05:37:16
问题 The kinect v2 provides a depth frame with the resolution of 512 x 424 pixels with a fov of 70.6 x 60 degrees resulting in an average of about 7 x 7 pixels per degree. [Source]. However I was unable to find any kind of information about the pixel size of the depth frame, or is there any kind of method to calculate the pixel size from the given information? 回答1: Are you asking how you to map size of pixels in the depth data? The depth coordinate system is orthogonal with it's origin and

How to get Windows version using Node.js?

帅比萌擦擦* 提交于 2019-12-18 09:26:47
问题 There are questions about OS version on the Stack Overflow but not about the Windows name, I am looking to find out Windows name using Node.js. I have looked into so many modules like os , platform , getos and using process etc. and found that these are helpful to get operating system description, process environment etc. I am able to get it is Linux or Windows too i.e. which platform I am using. But, how can I check, is it Windows 7 or 8 which is installed on my system using Node.js? I am

IndexOutOfRange Exception while trying to get color values from Kinect v2 in C#

笑着哭i 提交于 2019-12-11 16:21:18
问题 I am trying to get the RGB values of each CameraSpacePoint in Kinect v2. While trying to access converted frame data, the code is throwing IndexOutOfRangeException . I found out that following lines are throwing this error: byte red = pixels[4 * pixelsBaseIndex + 0]; byte green = pixels[4 * pixelsBaseIndex + 1]; byte blue = pixels[4 * pixelsBaseIndex + 2]; byte alpha = pixels[4 * pixelsBaseIndex + 3]; Please see the complete code below: int depthWidth = kinectSensor.DepthFrameSource

Node app created by enclose module getting shuts down on idle in production mode

爱⌒轻易说出口 提交于 2019-12-11 00:51:39
问题 I am working with a node.js application whose .exe has been made using Enclose module, although it is working fine, only problem is that the application automatically shuts down after 10 minutes opening if left idle, no interaction with it. Is it because of "Process working time" and "Network connections" are Limited in the free version? Will the app run continuously without shutting down if i subscribe to the full version? Will this issue be permanently fixed for the exe builds created with