如何检测照片上的特定脸部
我当时正在小睡,然后这个疯狂的想法就出现在我的脑海里。这里是。
我们有两张不同的照片,每张都有脸。我们如何检测这两张照片上是否是同一个人?
可以这样做吗?如果可以,我可以用 Java 或 PHP 来实现吗?有什么方法可以做到呢?有什么想法吗?也许每张脸都有一个“算法”或者可以帮助我们的东西?
非常感谢。
I was just having a nap and then that crazy idea came into my head. Here it is.
We have 2 different photos with face in each. How can we detect if there is the same person on that two photos?
Is it possible to do that? If yes, can I do it with Java or PHP? What the way to do it? Any ideas? Maybe each face has a "algorithm" or something which could help us?
Thank you very much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这不是一个简单的解决方案(并且不能包含在 SO 答案中);您可以首先阅读有关面部识别的论文。如果这是您真正想做的事情,请准备好在真正开始编写代码之前先阅读大量背景信息。这个主题是很多人的博士和硕士论文的基础。在这种情况下,语言并不像算法那么重要。还要为大量数学做好准备。至少,你会学到一些很酷的东西。 :)
It's not an trivial solution (and cannot be covered in an SO answer); you can start by reading papers on facial recognition. If this is something you really want to do, be prepared to read a lot of background information first before you actually start writing code. This subject matter is the basis for a lot of people's doctoral and masters theses. In this case, language is not as important as the algorithm. Also be prepared for lots of math. At the very least, you'll learn something cool. :)
我正在从事一项非常相似的任务。这并不好玩。建立人脸识别几乎是不可能的——人脸检测很容易,识别是困难的部分……正如我所见,该算法通常是一个保守的秘密。
但我确实找到了这个:http://face.com/
人脸识别 API。向它提供数据,它会向您提供您之前提供给它的名称和详细信息。您可以检查面孔是否存在。
如果您提出大量请求或开始在企业级别工作 - 他们会收费。
I was freelancing a very similar task. Its not fun. almost impossible to build face recognition - face detection is easy, recognition is the tough part... the algorithm is generally a guarded secret as I've seen.
But I did find this: http://face.com/
Face recognition API. Feed it data, it feeds you names and details you've previously fed it. You have the ability to check to see if a face exists.
If you make a lot of requests or start working at an enterprise level - they charge.
只要它有对图像数据进行数字处理的工具,语言并不重要。对于这样的论坛帖子来说,面部识别的话题太大了。我只会谷歌“面部识别算法”。
The language doesn't really matter as long as it has the tools to do number crunching on the image data. Facial recognition is too big of topic for a forum post like this. I would just google "facial recognition algorithms".
我同意其他人的观点,这不是一件小事。
I agree with the others that this is not trivial.