绘制面部样条 [英] Drawing Facial Splines

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

问题描述

亲爱的所有


我想重新创建此图片:http://i.msdn.microsoft.com/dynimg/IC584330.png



也就是说,我想将Kinect跟踪的面部点与一条线连接起来。



我有FaceTracking Toolkit,实验FaceTrackingBasics示例显示了各个点非常有用,但我对Kinect for Windows和Visual Studio&C#in仍然很新一般而且我正在努力进一步推进
。在线搜索尚未产生任何结果,我们将不胜感激。



提前致谢。



James

解决方案

Kinect for Windows SDK不提供任何关于如何使用的功能为任何特定的UI框架绘制点。如果您使用的是WPF,您可能需要遵循类似于绘制骨架关节/线的方式,但请记住WPF渲染性能。


我们创建了一个提供功能的博客为您提供2D形状点,您可以在这里找到:


http://blogs.msdn.com/b/kinectforwindows/archive/2014/01/31/clearing- -confusion-around-kinect-for-windows-face-tracking-output.aspx


至于绘制线,这可能会给你一些指示:


http://msdn.microsoft.com/ EN-US /库/ ms747393(v = vs.110)的.aspx


Dear all

I'd like to re-create this image: http://i.msdn.microsoft.com/dynimg/IC584330.png

That is, I would like to connect the facial points tracked by the Kinect with a line.

I have got the FaceTracking Toolkit, and the experimental FaceTrackingBasics example which shows the individual points has been very useful, but I'm still very new to Kinect for Windows and Visual Studio / C# in general and I'm struggling to progress any further. Searching online hasn't yielded anything yet, and help would be appreciated.

Thanks in advance.

James

解决方案

The Kinect for Windows SDK does not provide any function on how to draw the points for any particular UI framework. If you are using WPF, you may want to follow something similar to how we draw skeletal joints/lines, but keep in mind that WPF rendering performance.

We made a blog that provides a function to provide you the 2D Shape Points which you can find here:

http://blogs.msdn.com/b/kinectforwindows/archive/2014/01/31/clearing-the-confusion-around-kinect-for-windows-face-tracking-output.aspx

As for drawing lines, this might give you some pointers:

http://msdn.microsoft.com/en-us/library/ms747393(v=vs.110).aspx


这篇关于绘制面部样条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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