首页 > 解决方案 > 缺少 Microsoft.Gestures.Endpoint.dll 和 Microsoft.Gestures.Protocol.dll

问题描述

我想建立一个手势控制项目。

该项目使用英特尔实感 SR300,我已安装英特尔实感 SDK 2.0。

我还安装了 Project Prague SDK 用于手势控制。已Microsoft.Gestures.dll安装。但它不会安装

Microsoft.Gestures.Endpoint.dll
Microsoft.Gestures.Protocol.dll

所以我无法在我的项目中引用这两个 dll。因此,意味着我不能在我的项目中使用手势控制。

有没有办法让这些 dll 以其他方式获取?还是有其他使用手势控制的解决方案?

标签: c#dllmicrosoft-cognitivegesture-recognition

解决方案


要找到所需的DLL's,您必须使用%MicrosoftGesturesInstallDir%环境变量。它指向您AppData文件夹中的一个位置:

%AppData%\Microsoft\Prague\PragueVersions\LatestVersion

这是存储并同步的所有必需文件。

或使用以下路径:

%AppData%\Microsoft\Prague\PragueVersions\LatestVersion\SDK\Microsoft.Gestures.Endpoint.dll %AppData%\Microsoft\Prague\PragueVersions\LatestVersion\Microsoft.Gestures.Protocol.dll

%MicrosoftGesturesInstallDir%\SDK\Microsoft.Gestures.Endpoint.dll %MicrosoftGesturesInstallDir%\Microsoft.Gestures.Protocol.dll


来自布拉格项目的官方文档:

请注意,为了编译上述代码,您需要引用以下程序集,这些程序集位于MicrosoftGesturesInstallDir环境变量指示的目录中:

  • Microsoft.Gestures.dll
  • Microsoft.Gestures.Endpoint.dll
  • Microsoft.Gestures.Protocol.dll

推荐阅读