Most similar face recognition in Python

喜欢而已 提交于 2019-12-10 17:33:15

问题


How can I use Python and OpenCV to find facial similarity?

I've successfully used OpenCV and Python to extract faces from multiple photographs using Haar Cascades.

I now have a directory of images, all of which are faces of different people.

What I'd like to do is take a sample image, and then see which face it most looks like.

I've tried using pyssim:

pyssim needle.jpg "haystack/*"

But, unfortunately, it's looking a image similarity (colours etc) rather than facial features.

To reiterate - I'm quite happy detecting faces, what I'd like to be able to do is compare them.

来源:https://stackoverflow.com/questions/24203204/most-similar-face-recognition-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!