Kinect Face (Kinect Microsoft) crash on Windows 7 64 Bit

I think there must be a simple solution … Kinect is running fine in vvvv. skeleton detection works, but the face (Kinect Microsoft) node (both EX9 and DX11)crashes the program. With EX9 it crashes the moment i connect the node to the kinect node, in DX11 i can connect it, but it crashes when a face should be recognized. I have KinectRunntime-v1.7 and KinectSDK-v1.7 installed. Tried 1.8 too.

This thread did not solve the problem for me: https://discourse.vvvv.org/t/10784

Thankyou for your help :)

Here are both error reports:

EX9 ERROR:
System.DllNotFoundException: Die DLL “FaceTrackLib.dll”: Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden.
bei Microsoft.Kinect.Toolkit.FaceTracking.NativeMethods.FTCreateFaceTracker(IntPtr reserved)
bei Microsoft.Kinect.Toolkit.FaceTracking.FaceTracker.Initialize(CameraConfig newColorCameraConfig, CameraConfig newDepthCameraConfig, IntPtr colorImagePtr, IntPtr depthImagePtr, FaceTrackingRegisterDepthToColor newRegisterDepthToColorDelegate)
bei Microsoft.Kinect.Toolkit.FaceTracking.FaceTracker…ctor(KinectSensor sensor)
bei VVVV.MSKinect.Nodes.KinectFaceNode.KinectFaceNode_AllFrameReady(Object sender, AllFramesReadyEventArgs e)

DX11 ERROR:
System.BadImageFormatException: Es wurde versucht, eine Datei mit einem falschen Format zu laden. (Ausnahme von HRESULT: 0x8007000B)
bei Microsoft.Kinect.Toolkit.FaceTracking.NativeMethods.FTCreateFaceTracker(IntPtr reserved)
bei Microsoft.Kinect.Toolkit.FaceTracking.FaceTracker.Initialize(CameraConfig newColorCameraConfig, CameraConfig newDepthCameraConfig, IntPtr colorImagePtr, IntPtr depthImagePtr, FaceTrackingRegisterDepthToColor newRegisterDepthToColorDelegate)
bei Microsoft.Kinect.Toolkit.FaceTracking.FaceTracker…ctor(KinectSensor sensor)
bei VVVV.MSKinect.Nodes.KinectFaceNode.SkeletonFaceTracker.OnFrameReady(KinectSensor kinectSensor, ColorImageFormat colorImageFormat, Byte colorImage, DepthImageFormat depthImageFormat, Int16 depthImage, Skeleton skeletonOfInterest)
bei VVVV.MSKinect.Nodes.KinectFaceNode.KinectFaceNode_AllFrameReady(Object sender, AllFramesReadyEventArgs e)

so the error message clearly points at a file still missing. the other thread you mentioned points out how to go about that.

Thankyou for your reply, Joreg. Oh, sorry, that was the old error message, now i get “BadImageFormatException” …

In the newest version of the DX11 pack, the FaceTrackLib.dll is included.

System.BadImageFormatException: Es wurde versucht, eine Datei mit einem falschen Format zu laden. (Ausnahme von HRESULT: 0x8007000B)
bei Microsoft.Kinect.Toolkit.FaceTracking.NativeMethods.FTCreateFaceTracker(IntPtr reserved)
bei Microsoft.Kinect.Toolkit.FaceTracking.FaceTracker.Initialize(CameraConfig newColorCameraConfig, CameraConfig newDepthCameraConfig, IntPtr colorImagePtr, IntPtr depthImagePtr, FaceTrackingRegisterDepthToColor newRegisterDepthToColorDelegate)
bei Microsoft.Kinect.Toolkit.FaceTracking.FaceTracker…ctor(KinectSensor sensor)
bei VVVV.MSKinect.Nodes.KinectFaceNode.SkeletonFaceTracker.OnFrameReady(KinectSensor kinectSensor, ColorImageFormat colorImageFormat, Byte colorImage, DepthImageFormat depthImageFormat, Int16 depthImage, Skeleton skeletonOfInterest)
bei VVVV.MSKinect.Nodes.KinectFaceNode.KinectFaceNode_AllFrameReady(Object sender, AllFramesReadyEventArgs e)

my guess would be that the 64bit build of the dx11 pack doesn’t contain the 64bit version of the FaceTrackLib.dll. you should create an issue here and in the meantime try the 32bit build.

Will be fixed for next release.

In the meantime in x64, you can find the files in:

C:\Program Files\Microsoft SDKs\Kinect\Developer Toolkit v1.8.0\Redist\amd64

Copy the 2 face libraries in:

vvvvpath\packs\dx11\nodes\plugins