如何在脸上画出121点 [英] how to draw the 121 points in the face

查看:70
本文介绍了如何在脸上画出121点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我想在我的解决方案中得到121分。谁拥有此代码或我该怎么办?谢谢!

Hello,I want t odraw the 121 points in my solution. Who have this code or what should I do? Thanks !

推荐答案

我假设您希望在彩色图像上叠加二维面点,或者您只想将它​​们绘制为2D图像,所以先看一下使用GetProjected3DShape。  Kinect for Windows Developer Toolkit中的FaceTrackingBasics-WPF示例,特别是FaceTrackingViewer.xaml.cs中的
,使用这些点和GetTriangles返回的三角形在图像上绘制面三角形。  GetTriangles返回的每个三角形都包含指向
跟踪提供的121个点内的三个点的索引。 浏览此示例是了解绘制面部点所需操作的好方法。

I assume you want the two-dimensional face points overlayed on the color image, or you want to just draw them as a 2D image, so start by looking at using GetProjected3DShape.  The FaceTrackingBasics-WPF sample in the Kinect for Windows Developer Toolkit, specifically in FaceTrackingViewer.xaml.cs, uses these points and the triangles returned by GetTriangles to draw the face triangles on the image.  Each triangle returned by GetTriangles contains indexes to three points within the 121 points that face tracking provides.  Walking through this sample is a good way to learn what you need to do to draw face points.


这篇关于如何在脸上画出121点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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