简体   繁体   English

在脸部图像中找到眼睛和嘴巴

[英]Find eyes and mouth in an face image

I'm curious about finding the eyes from an image. 我很想从图像中找到眼睛。 Let's say I have an thresholded image and I have 3 blobs representing two eyes and the mouth. 假设我有一个阈值图像,我有3个斑点代表两只眼睛和嘴巴。 Is there a way to detect which of the region of pixels is eye region and approximate it's center? 有没有办法检测哪个像素区域是眼睛区域并接近它的中心?

I am not sure if I follow your question right! 我不确定我是否正确地回答你的问题! Do you want to process a gray level/ color image or a binary image. 是否要处理灰度/彩色图像或二进制图像。

You might find the following links relevant if you are trying to locate fiducial points on face images 如果您尝试在面部图像上找到基准点,您可能会发现以下相关链接

1) http://www.learnopencv.com/facial-landmark-detection/ 1) http://www.learnopencv.com/facial-landmark-detection/

2) http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/ 2) http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/

3) http://cmp.felk.cvut.cz/~uricamic/flandmark/ 3) http://cmp.felk.cvut.cz/~uricamic/flandmark/

I would actually recommend you to use dlib library. 我实际上建议你使用dlib库。

I used it recently. 我最近用过它。 You can use it very easily for object detection and if you want to train it for your own objects it is fairly easy using imglab. 您可以非常轻松地将它用于对象检测,如果您想为自己的对象训练它,使用imglab相当容易。

http://blog.dlib.net/2014/02/dlib-186-released-make-your-own-object.html http://blog.dlib.net/2014/02/dlib-186-released-make-your-own-object.html

See this. 看到这个。

You can check the following blog which is much equipped with facial landmarks detection including eye regions. 您可以查看以下博客,该博客配备了面部地标检测功能,包括眼部区域。 It will be very much easier to find approximate center of eye. 找到近似的眼睛中心会非常容易。 It gives six points (37-42 left eye & 43-48 right eye) of eye along the eye lid which can be used to calculate the eye center. 它沿着眼睑提供六个眼睛(37-42左眼和43-48右眼),可用于计算眼睛中心。

在此输入图像描述

Detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python 使用dlib,OpenCV和Python检测眼睛,鼻子,嘴唇和下巴

There are much more you may find them very much interesting and helpful. 你可能会发现它们非常有趣和有用。

OpenCV is the acronym of Open Computer Vision . OpenCV是Open Computer Vision的首字母缩写。 this is a project that works on face-recognition pattern-recognition face-traking and much much more. 这是一个致力于面部识别模式识别面部抄袭的项目,以及更多。

There is a well-written documentation and a lot of examples all over the web. 网上有很好的文档和很多例子。 I suggest you to take a look at this. 我建议你看看这个。

It works with Java,c++ and python. 它适用于Java,c ++和python。

Search for eye-traking if this is your main interest. 如果这是您的主要兴趣,请搜索眼睛盯着。

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

相关问题 查找眼睛和嘴角 - Find corner points of eyes and Mouth 在Flash中是否有用于查找人眼和嘴巴的快速库? (由ActionScript) - Is there any fast library(s) for finding human eyes and mouth in Flash? (Actionscript) 我们可以像检测面部和眼睛一样使用 Haar 分类器检测眼睛的虹膜吗? - Can we use Haar Classifier to detect Iris of an eye as done for face and eyes? 如何使用 tensorflow.js face-landmark-detection model 获取面部的特定地标,如嘴唇或眼睛 - How to get specific landmark of face like lips or eyes using tensorflow.js face-landmark-detection model 当我在Ubuntu 16.04 LTS终端中运行时,带有Haarcascades和OpenCV的Python脚本(从脸上割嘴)会引发以下错误 - My Python script (to crop the mouth from a face) with Haarcascades and OpenCV throws the following error when run in Ubuntu 16.04 LTS terminal 找到相对的眼睛角度(左,右,上,下,笔直) - Find the relative angle of eyes ( left, right, up, down, straight ) 使用Python的OpenCV-尝试将图像覆盖在网络摄像头feed上 - OpenCV with Python - Trying to overlay an image over the eyes on a webcam feed 识别图像中的特定面部 - Identifying a Specific Face in an Image 将轮廓面部图像与其正面图像对齐 - Align profile face image with its frontal face image OpenCV中对齐人脸图像的裁剪 - Cropping of Aligned face image in OpenCV
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM