简体   繁体   English

人脸特征检测-眼角,眉毛

[英]Face Features Detection - corner of eyes, eyebrows

I am creating basic emotion detection system for mobile phone with usage of OpenCV4Android. 我正在使用OpenCV4Android创建用于手机的基本情绪检测系统。 My system is already capable of finding mouth and doing some preprocessing. 我的系统已经能够找到嘴并进行一些预处理。 I have nice results of getting face objects from Canny: 从Canny获取面部对象有很好的结果:

Examplary Face1: https://dl.dropboxusercontent.com/u/108321090/FACE%20%282%29.png 面子示例1: https ://dl.dropboxusercontent.com/u/108321090/FACE%20%282%29.png

Examplary Face2: https://dl.dropboxusercontent.com/u/108321090/FACE%20%281%29.png Face2示例: https ://dl.dropboxusercontent.com/u/108321090/FACE%20%281%29.png

Red rectangles are areas found by cascades. 红色矩形是级联找到的区域。 I have those saved as Mat objects. 我把那些另存为Mat对象。

Blue dots are points I need to find. 蓝点是我需要找到的点。 Problem is, that I have both eyebrows and eyes on the same segment. 问题是,我的眉毛和眼睛都在同一段上。

Additionaly there are situations in which eyebrows are directly connected to eyes (in some emotion states). 另外,在某些情况下,眉毛直接与眼睛相连(处于某些情绪状态)。 It's hard to access some points. 很难获得一些要点。 I have also normal images (of course) and tresholded ones which are also interesting for eyebrow shapes - but I lose some other objects (mouth - well that one doesn't matter cuz its already done, eyes) due to bad light, well eyebrows are always well visible. 我也有正常的图像(当然)和带眉毛的图像,这些图像对于眉毛的形状也很有趣-但是由于光线不好,眉毛不好,我失去了一些其他物体(嘴巴-好吧,因为它已经完成,眼睛)总是很明显。 Of course I could change tresholding a bit, cuz I dont need it in finding other features. 当然,我可以稍微更改门槛,因为我在寻找其他功能时不需要它。 Like I said mouths is done well. 就像我说的那样,嘴巴做得很好。 Eyes/Eyebrows left. 左眼/眉毛。

Examplary Face3: https://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-01-17-01-33-14.png Face3示例: https ://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-01-17-01-33-14.png

Examplary Face4: https://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-01-17-01-26-33.png Face4示例: https ://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-01-17-01-26-33.png

Examplary Face5 (a bit problematic, eyes gone, but if I treshold them localy not globaly its fine) https://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-03-05-01-30-48.png 示范性Face5(有点问题,眼睛消失了,但是如果我把它们本地化,而不是全局性的话) https://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-03-05-01-30-48.png

Exampalary Face6 (eyebrows conencted to eyes) https://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-03-05-01-28-21.png 面部表情6(眉毛紧贴眼睛) https://dl.dropboxusercontent.com/u/108321090/Screenshot_2014-03-05-01-28-21.png

I want to ask you if you could provide me with any materials/ideas connected to detection of eye, and eyebrows action units. 我想问你是否可以向我提供与检测眼睛和眉毛动作单元有关的任何材料/想法。

if you can locate an eye/eye-brow unit you can probably just track it and relate emotions to the relative motion there rather than trying to separate eyes from eye-brows. 如果您可以找到一个眼睛/眉毛单元,则可以跟踪它并将情绪与那里的相对运动相关联,而不是试图将眼睛与眉毛分开。 Your first two exemplary faces are gradients while the rest are thresholded grey tones. 您的前两个示例性面孔为渐变色,其余为阈值灰色调。 I would rather use gradients since grey tones are affected by lighting and shadows. 我宁愿使用渐变,因为灰色调会受光照和阴影的影响。

I would also avoid using Canny edge detector since it is a highly non-linear and non-stable operator for matching sequential frames and hence for motion detection. 我也将避免使用Canny边缘检测器,因为它是高度非线性且不稳定的运算符,用于匹配顺序帧并因此用于运动检测。 I would rather use a simpler Sobel and some kind of motion detection but only after tracking subtracts a global head motion. 我宁愿使用更简单的Sobel和某种运动检测,但只能在跟踪减去全局头部运动后才能使用。

The interesting work on emotion detection was done based on Kinect and it really works though it requires a bit of offline training, see faceShift . 关于情感检测的有趣工作是基于Kinect进行的,尽管需要一些离线培训,但它确实有效,请参见faceShift A good test for right processing (before mapping features to emotions) is trying to move the model of the face in sync with target face - some kind of virtual avatar. 正确处理(在将特征映射到情感之前)的一个很好的测试是尝试移动面部模型与目标面部(某种虚拟化身)同步。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM