标签: kinect

Kinect SDK出来了吗?

我想在Kinect上工作,大约一个月前我读到Kinect SDK for Windows已经出来了,但在这里 我什么都没找到,是不是,或者我们还要等待SDK吗?
如果不是,它何时会被释放?

sdk release kinect

1
推荐指数
1
解决办法
451
查看次数

确定是否使用Microsoft SDK或ManagementObjectSearcher插入Kinect

我正在尝试使用ManagementObjectSearcher确定我的Kinect是否已插入PC.我不确定要查询什么,因为它没有列为USB设备.相反,它被列为"Microsoft Kinect"硬件设备.

在此输入图像描述

以下是我要烦恼的事情:

using (ManagementObjectSearcher searcher = new ManagementObjectSearcher(@"Select * from Win32_SOMETYPE"))
{
    foreach (ManagementObject managementObject in searcher.Get())
    {
        foreach (PropertyData propertyData in managementObject.Properties)
        {
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

c# wpf usb kinect

1
推荐指数
1
解决办法
645
查看次数

kinect/processing/simple openni - 点云数据输出不正确

我创建了一个处理草图,它将每个点云数据帧从kinect保存到文本文件,其中文件的每一行都是kinect注册的点(或顶点).我计划将数据拉入3d程序,以便在3d空间中可视化动画并应用各种效果.问题是,当我这样做时,第一帧似乎是正确的,其余的帧似乎吐出看起来像第一个图像,加上一堆随机噪声.这是我的全部代码.它需要简单的openni才能正常工作.你可以看到评论

import SimpleOpenNI.*;
//import processing.opengl.*;

SimpleOpenNI context;
float        zoomF =0.5f;
float        rotX = radians(180);  // by default rotate the hole scene 180deg around the x-axis, 
float        rotY = radians(0); // the data from openni comes upside down

int maxZ = 2000;
Vector <Object> recording = new Vector<Object>(); 
boolean isRecording = false;
boolean canDraw = true;
boolean mouseMode = false;
int currentFile = 0;
int depthWidth = 640; //MH - assuming this is static?
int depthHeight = 480;
int steps = …
Run Code Online (Sandbox Code Playgroud)

processing point-clouds kinect openni

1
推荐指数
1
解决办法
1万
查看次数

F#中的位移和字节到int转换

我正在使用kinect在F#中做一些事情,但是在使用深度数据时遇到了一些麻烦.我一直在关注本教程:http://digitalerr0r.wordpress.com/2011/06/21/kinect-fundamentals-3-getting-data-from-the-depth-sensor/

有c#例子,我一直试图转换为F#.

这部分代码存在问题:

void kinectSensor_DepthFrameReady(object sender, ImageFrameReadyEventArgs e)
{
PlanarImage p = e.ImageFrame.Image;

    Color[] DepthColor = new Color[p.Height * p.Width];

    float maxDist = 4000;
    float minDist = 850;
    float distOffset = maxDist – minDist;

    kinectDepthVideo = new Texture2D(GraphicsDevice, p.Width, p.Height);

    int index = 0;
    for (int y = 0; y < p.Height; y++)
    {
        for (int x = 0; x < p.Width; x++, index += 2)
        {
            int n = (y * p.Width + x) * 2; …
Run Code Online (Sandbox Code Playgroud)

xna f# bitwise-operators kinect

0
推荐指数
1
解决办法
1343
查看次数

c ++随机无法解释的错误

我正在使用OpenNi,NITE和OpenGL在Visual Studio 2008中创建一个kinect项目.

在随机时间dureing开发我收到以下错误:

从"C:\ Program Files\Microsoft SDKs\Windows\v6.0A\bin\rc.exe"返回错误结果1.

我没有运气在网上搜索过.

我能够创建一个新项目并复制我的所有代码并且它工作正常但这不是我想要每天做多次的事情.

如果需要更多信息,我很乐意给予它.

编辑完整输出窗口读取

1>------ Build started: Project: PointViewer, Configuration: Debug Win32 ------
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>fatal error RC1110: could not open ..\Res\NITE.rc
1>Project : error PRJ0002 : Error result 1 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\rc.exe'.
1>Build log was saved at "file://d:\Documents\Uni work\Year 4\Personal Project\Samples \PointViewer\Debug\BuildLog.htm"
1>PointViewer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, …
Run Code Online (Sandbox Code Playgroud)

c++ opengl visual-studio-2008 kinect openni

0
推荐指数
1
解决办法
5858
查看次数

如何在C#WPF中获取并绑定Slider的值?

我可以在这里获得滑块的值:

    public void TheSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
    {


        int k = (int)TheSlider.Value;

        Debug.WriteLine(k);

    }
Run Code Online (Sandbox Code Playgroud)

在这一部分中,我无法获取该值,因此无法使用它:

    private void Window_Loaded(object sender, RoutedEventArgs e)
    {
       _runtime.NuiCamera.ElevationAngle = (int)TheSlider.Value;
    }
Run Code Online (Sandbox Code Playgroud)

这是xaml中的滑块代码:

    <Slider x:Name="TheSlider"
            DockPanel.Dock="Left"
            Orientation="Horizontal"
            HorizontalAlignment="Center"
            HorizontalContentAlignment="Center"
            Minimum="-27"
            Maximum="27"
            Cursor="Hand"
            IsSnapToTickEnabled="True"
            Margin="322,392,329,87" ValueChanged="TheSlider_ValueChanged" Width="144" />
Run Code Online (Sandbox Code Playgroud)

这里有什么问题?你能帮我吗?

更新:

        public override void OnApplyTemplate()
    {
        base.OnApplyTemplate();
        System.Windows.Data.Binding b = new System.Windows.Data.Binding();
        b.ElementName = "TheSlider";
        b.Path = new PropertyPath("Value");
        SetBinding(ElevationAngleProperty, b);

    }

    public int ElevationAngle
    {
        get { return _runtime.NuiCamera.ElevationAngle; }

        set { _runtime.NuiCamera.ElevationAngle = value; OnPropertyChanged("ElevationAngle"); } …
Run Code Online (Sandbox Code Playgroud)

c# wpf slider kinect

0
推荐指数
1
解决办法
3万
查看次数

Kinect Depth FPS在检测到人体时显着减慢

我有一个应用程序,我创建自己的深度框架(使用Kinect SDK).问题是当检测到人的深度的FPS(然后颜色也是如此)显着减慢时.是一部关于帧速度减慢的电影.我正在使用的代码:

        using (DepthImageFrame DepthFrame = e.OpenDepthImageFrame())
        {
            depthFrame = DepthFrame;
            pixels1 = GenerateColoredBytes(DepthFrame);

            depthImage = BitmapSource.Create(
                depthFrame.Width, depthFrame.Height, 96, 96, PixelFormats.Bgr32, null, pixels1,
                depthFrame.Width * 4);

            depth.Source = depthImage;
        }

...

    private byte[] GenerateColoredBytes(DepthImageFrame depthFrame2)
    {
        short[] rawDepthData = new short[depthFrame2.PixelDataLength];
        depthFrame.CopyPixelDataTo(rawDepthData);

        byte[] pixels = new byte[depthFrame2.Height * depthFrame2.Width * 4];

        const int BlueIndex = 0;
        const int GreenIndex = 1;
        const int RedIndex = 2;


        for (int depthIndex = 0, colorIndex = 0;
            depthIndex < rawDepthData.Length …
Run Code Online (Sandbox Code Playgroud)

c# wpf frame-rate depth kinect

0
推荐指数
1
解决办法
1195
查看次数

各种Kinect库OpenNI,PCL使用什么

我正在研究一个项目,我需要给一个小型人形机器人(Nao机器人)深度感知.我计划将Kinect连接到机器人的前额,并将其与机器人当前的操作和引导系统(默认系统OPEN NAO)集成,该系统在Linux上运行并通过wifi中继到机器人.

现在我正在摸索使用哪个软件.我看过Point Cloud Library,我看到它用于处理实际数据,OpenNI被定义为一个API框架,可以帮助应用程序访问自然交互设备,如Kinect,然后是官方的Kinect SDK.我只是不确定它们是如何组合在一起的.

我需要将哪些库/框架集成到机器人的操作系统中?

robot depth kinect openni nao-robot

0
推荐指数
1
解决办法
2184
查看次数

翻转从Kinect收到的深度帧

我使用以下c ++代码从kinect中读出深度信息:

    BYTE * rgbrun = m_depthRGBX;
    const USHORT * pBufferRun = (const USHORT *)LockedRect.pBits;

    // end pixel is start + width*height - 1
    const USHORT * pBufferEnd = pBufferRun + (Width * Height);

    // process data for display in main window.
    while ( pBufferRun < pBufferEnd )
    {
        // discard the portion of the depth that contains only the player index
        USHORT depth = NuiDepthPixelToDepth(*pBufferRun);

        BYTE intensity = static_cast<BYTE>(depth % 256);


        // Write out blue byte
        *(rgbrun++) = intensity; …
Run Code Online (Sandbox Code Playgroud)

c++ visual-c++ kinect

0
推荐指数
1
解决办法
1910
查看次数

在 Windows 应用程序中使用数据库

我正在使用 C# 开发 Microsoft Kinect 游戏(适用于 Windows),我需要一个本地数据库来存储有关玩家及其进度的信息以及有关他们的分数和准确性的更详细信息。我从未在 Windows 应用程序中使用过数据库,我一直在寻找有关如何使用的建议。我一直在尝试使用 SQL Server,因为它可以让我在 Visual Studio 中创建一个数据库。我一直无法找到许多关于如何从 C# 应用程序中与数据库交互的资源。

我真的对 SQL Server 知之甚少,所以我不知道它是否是我需要的正确选择。有没有人建议使用哪种数据库系统?你能指出一些关于如何做我需要做的事情的好的资源/例子的方向吗?

非常感谢!

编辑:我还应该提到我确实有使用 SQL 的经验。

c# database windows sql-server kinect

0
推荐指数
1
解决办法
897
查看次数

导入错误:libkfusion.so:无法打开共享对象文件:没有这样的文件或目录

我一直在尝试从一篇使用 Kinect Fusion 库的论文中重现一个框架。

当我运行测试脚本时,出现错误:

(darnn) weizhang@long:~/DA-RNN$ sudo ./experiments/scripts/test_kinect_fusion.sh 0
+ set -e
+ export PYTHONUNBUFFERED=True
+ PYTHONUNBUFFERED=True
+ export CUDA_VISIBLE_DEVICES=0
+ CUDA_VISIBLE_DEVICES=0
++ date +%Y-%m-%d_%H-%M-%S
+ LOG=experiments/logs/test_kinect_fusion.txt.2018-06-17_12-44-13
+ exec
++ tee -a experiments/logs/test_kinect_fusion.txt.2018-06-17_12-44-13
+ echo Logging output to experiments/logs/test_kinect_fusion.txt.2018-06-17_12-44-13
Logging output to experiments/logs/test_kinect_fusion.txt.2018-06-17_12-44-13
+ ./tools/test_kinect_fusion.py --gpu 0 --imdb rgbd_scene_trainval --cfg experiments/cfgs/rgbd_scene.yml --rig data/RGBDScene/camera.json
Traceback (most recent call last):
  File "./tools/test_kinect_fusion.py", line 15, in <module>
    from kinect_fusion import kfusion
ImportError: libkfusion.so: cannot open shared object file: No such file or …
Run Code Online (Sandbox Code Playgroud)

python python-import importerror library-path kinect

0
推荐指数
1
解决办法
3291
查看次数