Kinect识别眼睛的眼睑之间的差距 [英] Kinect recognition of the gap between the lids of the eyes

查看:66
本文介绍了Kinect识别眼睛的眼睑之间的差距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!我正在使用Facetracking Kinect。我已经写过关于面部点的另一个帖子了,但现在我有点担心一件事:

Hi! I'm working with facetracking Kinect. I've already write in another thread about the face points, but now I'm a bit concerned about a thing:

可以Kinect跟踪眼睛开了多少?例如,底盖和上盖之间的距离。我认为Kinect可以计算出这些点,当用户打开并闭上眼睛时移动它们。告诉我是否有可能,或者我是否应该使用
另一个技术(例如,OpenCV流程)。

Can Kinect track how much the eyes are open? The distance between the bottom lid and the upper lid, for example. I thought Kinect could calculate this points, moving them as the user open and close his eyes. Tell me if is possible, or if I should use another tecnology (for example, a OpenCV process).

 

非常感谢:D

Alby87

推荐答案

鉴于颜色/深度的分辨率如何你在寻找准确的人,这个人有多近? API为您提供功能点列表。如果您能够使用Kinect中的给定数据成功呼叫.Track,则调用  GetProjected3DShape 将
返回功能点列表。从那里你可以根据点的值来确定计算。

Given the resolution of the color/depth how accurate are you looking for and how close does the person have to be? The API gives you the list of feature points. If you are able to successfully call .Track with the given data from Kinect, calling GetProjected3DShape will return the list of feature points. From that you can determine the calculations based on the values of the points.

// list the locations and display enumerated name if availablefor (int i = 0; i < this.facePoints.Count; i++){    Debug.Print("X:{0}, Y:{1} - Type:{2} ", this.facePoints[i].X, facePoints[i].Y, ((FeaturePoint)i).ToString() );    faceModelPts.Add(new Point(this.facePoints[i].X + 0.5f, this.facePoints[i].Y + 0.5f));}

你应该看看类似

X:313.6939, Y:93.59196 - Type:MiddleBottomOfRightEyebrow X:317.1469, Y:94.90627 - Type:AboveMidUpperRightEyelid X:309.0943, Y:97.97057 - Type:OuterCornerOfRightEye X:317.1328, Y:96.01733 - Type:MiddleTopRightEyelid X:317.0526, Y:99.75152 - Type:MiddleBottomRightEyelid X:324.9353, Y:98.6506 - Type:InnerCornerRightEye X:317.0344, Y:100.594 - Type:UnderMidBottomRightEyelid 


X:344.5416, Y:95.3372 - Type:AboveMidUpperLeftEyelid X:350.9966, Y:98.60126 - Type:OuterCornerOfLeftEye X:344.5135, Y:96.44154 - Type:MiddleTopLeftEyelid X:344.371, Y:100.153 - Type:MiddleBottomLeftEyelid X:336.6262, Y:98.82547 - Type:InnerCornerLeftEye X:344.3388, Y:100.9904 - Type:UnderMidBottomLeftEyelid 


X:313.1169, Y:95.76808 - Type:AboveThreeFourthRightEyelid X:347.82, Y:96.30713 - Type:AboveThreeFourthLeftEyelid X:313.1036, Y:96.47094 - Type:ThreeFourthTopRightEyelid X:347.7918, Y:97.00456 - Type:ThreeFourthTopLeftEyelid X:313.0502, Y:99.27627 - Type:ThreeFourthBottomRightEyelid X:347.6793, Y:99.7883 - Type:ThreeFourthBottomLeftEyelid X:312.9931, Y:99.65044 - Type:BelowThreeFourthRightEyelid X:347.5836, Y:100.1591 - Type:BelowThreeFourthLeftEyelid X:321.0031, Y:96.054 - Type:AboveOneFourthRightEyelid X:340.5275, Y:96.35659 - Type:AboveOneFourthLeftEyelid X:320.9863, Y:96.758 - Type:OneFourthTopRightEyelid X:340.5023, Y:97.05754 - Type:OneFourthTopLeftEyelid X:320.9192, Y:99.56789 - Type:OneFourthBottomRightEyelid X:340.4018, Y:99.85523 - Type:OneFourthBottomLeftEyelid 





这篇关于Kinect识别眼睛的眼睑之间的差距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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