Question

I am creating an app, its main functionality is, a user can input image which includes a face of a person. Using that input image, I need to check(Compare), Whether the input image is matching with the list of images I have. I mean the face in the input image, The list may contain more 100000 images.

How can we do this in PHP ?

Was it helpful?

Solution

OpenCV does face regonition. You can call OpenCV directly from PHP or you can try the OpenCV for PHP project.

There is also a long list of other face recognition libraries on this question: Face recognition Library

OTHER TIPS

Though it might actually be possible to do that in php that language certainly is a bad choice for the problem. What you are probably really looking for is:

1.) some pattern matching software that can recognize similarities in images. Since that involves graphics processing such software is typicall not coded in a scripting language like php but in something more efficient like c or c++.

2.) some primitive php code controlling the face recognition, the comparision running in another process.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top