C# 人脸识别/合并软件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/353226/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Facial recognition/merging software
提问by thr
Can anyone point me in the right direction of some facial recognition libraries & algorithms ? I've tried searching/googling but i mostly find thesises and very little real software.
任何人都可以指出一些面部识别库和算法的正确方向吗?我试过搜索/谷歌搜索,但我主要是找到论文,很少有真正的软件。
采纳答案by Tuminoid
How about Eigenfaces? Utilizes simple mathematics to store recognizable eigenvector of the face and reconstruct faces using multiple vectors.
特征脸呢?利用简单的数学来存储人脸的可识别特征向量并使用多个向量重建人脸。
The code is all available in Python as well here.
此处的所有代码都可以在 Python 中使用。
回答by Paul Morel
You're probably not going to find much finished software for face recognition. If you want to do it, your best chance is to implement something that is in someone's thesis.
您可能不会找到很多用于人脸识别的成品软件。如果您想这样做,最好的机会就是实现某人论文中的内容。
About 4 years ago, someone at CMU, I believe, wrote an algorithm that was the most successful face recognition algorithm I have ever seen... I will try to find it for you, unless someone else knows what I am talking about.
大约 4 年前,我相信 CMU 的某个人写了一个算法,这是我见过的最成功的人脸识别算法……我会尽力为你找到它,除非其他人知道我在说什么。
If you've never implemented computer vision code before, then you might be able to tackle the problem by breaking it down into a simpler problem. How many people are you looking for? If it's a small group of people, could a color-space recognition algorithm work? If the people have differing skin tones, and differing hair colors, then you might just be able to use basic color-space recognition to get a good result.
如果您以前从未实现过计算机视觉代码,那么您或许可以通过将其分解为更简单的问题来解决问题。你要找多少人?如果是一小群人,颜色空间识别算法可以工作吗?如果人们有不同的肤色和不同的头发颜色,那么您可能只能使用基本的色彩空间识别来获得良好的结果。
Otherwise, you are in for a big project.
否则,您将面临一个大项目。
EDIT: here's a list of some CMU articles that may point you in the right direction
编辑:这是一些 CMU 文章的列表,它们可能会为您指明正确的方向
If I were you, I would read some of those articles, and follow up on the references.
如果我是你,我会阅读其中一些文章,并跟进参考资料。
回答by bezmax
This kind of task is usually done using Neural Networks. This is your primary direction to look. Also some more specific kind of network for you to look is Kohonen Neural Network. It is the simpliest Image Recognition network, that can be also used in a face recognition tasks. You won't achieve any good results using ONLY this one kind of net, but connecting few of them together. I can't give more detail, as I know this only in theory, but have no practical skills in this area.
这种任务通常使用神经网络来完成。这是您的主要观察方向。还有一些更具体的网络类型是 Kohonen 神经网络。它是最简单的图像识别网络,也可用于人脸识别任务。仅使用这种网络不会获得任何好的结果,而是将它们中的一些连接在一起。我不能提供更多细节,因为我只在理论上知道这一点,但在这方面没有实际技能。
Btw, I don't think you will find any libraries for that task, as usually if you have such library - why dont make a product and sell it?
顺便说一句,我认为您不会像通常那样为该任务找到任何图书馆 - 为什么不制作产品并出售它?
回答by tfinniga
OpenCVis a great computer vision library.
OpenCV是一个很棒的计算机视觉库。
Here's the OpenCV wiki page on face recognition.
回答by Carlos Rendon
In addition to Eigenfaces, I would look at Fisherfaces. Here is an academic paper that compares the performance of both algorithms Eigenfaces vs. Fisherfaces. It shows better performance with Fisherfaces. I also agree with tfinniga that OpenCV is worth your time, I've used it before for face detection.
除了 Eigenfaces,我还会看看 Fisherfaces。这是一篇学术论文,比较了两种算法Eigenfaces 与 Fisherfaces的性能。使用 Fisherfaces 显示出更好的性能。我也同意 tfinniga 的观点,OpenCV 值得你花时间,我以前用它来进行人脸检测。
Finally you should be more specific. Do you want to detect when there is a face in a picture and then identify where or do you want to detect a specific face in a picture? The solutions listed here are for the latter question. If you want to tackle the former question I suggest searching the literature for adaboost and haar features.
最后你应该更具体。您是否想检测图片中何时有人脸,然后识别图片中的某个位置或您想检测特定人脸?此处列出的解决方案适用于后一个问题。如果您想解决前一个问题,我建议您搜索 adaboost 和 haar 功能的文献。
回答by graham.reeds
回答by Shervin Emami
I wrote a whole tutorial and demo program with free source code for performing face detection and face recognition in real-time from a webcam (based on Eigenfaces in OpenCV):
我用免费的源代码编写了一个完整的教程和演示程序,用于从网络摄像头实时执行人脸检测和人脸识别(基于 OpenCV 中的 Eigenfaces):
回答by Nitin
I find Luxand Facesdkthe best for Face recognition and identification.
我发现Luxand Facesdk最适合人脸识别和识别。