Kinect Studio V2 API [英] Kinect Studio V2 API

查看:73
本文介绍了Kinect Studio V2 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我正在尝试在C#WPF中使用KStudio API。

Hello. I'm trying to use KStudio API in C# WPF.

从我编码记录kinect数据的以下站点获取类信息。

Getting the class information from the following sites I coded recording kinect data.

https://msdn.microsoft.com/en-us/library/microsoft.kinect.tools.kstudioclient.aspx?cs-save-lang=1&cs-lang=csharp# code-snippet-1

https://msdn.microsoft.com/en-us/library/microsoft.kinect.tools.kstudioclient.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1

https://social.msdn.microsoft.com/Forums/en-US/59c97d1e-79f6-4dd0-8fae-73080a2c7b18/documentation-for-microsoftkinecttools- api?forum = kinectv2sdk

https://social.msdn.microsoft.com/Forums/en-US/59c97d1e-79f6-4dd0-8fae-73080a2c7b18/documentation-for-microsoftkinecttools-api?forum=kinectv2sdk

但是,运行代码时会发生异常。我将上面站点中的dll文件复制到项目文件夹中,但是没有用。

However, an exception occurs while running the code. I copied the dll file in the site above into the project folder but that did not work.

有没有人知道我可以获得api文档的任何网站,或者你能帮助我吗?

Does anyone know any site where I can get the api documentation or could you help me!

顺便说一句,我收到此消息的异常。

Btw, I am getting the exception with this message.

类型为'System'的未处理异常。在kstudiotest.exe中发生BadImageFormatException

An unhandled exception of type 'System.BadImageFormatException' occurred in kstudiotest.exe

推荐答案

BadImageFormatException必须处理您尝试使用的.dll的二进制类型。确保您的项目在项目目标设置中针对32位或x64的正确二进制格式x86。
BadImageFormatException has to deal with the binary type of the .dll you are trying to use. Ensure your project is targeting the correct binary format x86 for 32bit or x64 in the project target settings.


这篇关于Kinect Studio V2 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆