facial recognition using php

user3511680 picture user3511680 · Apr 8, 2014 · Viewed 21.9k times · Source

I'm trying to write a facial recognition algorithm using PHP?

I can do facial detection using OpenCV.
My goal is to come up with a way to take two faces and compare them to generate a percentage match.

I was going to have a user login then upload a photo of their face. Then compare that image withe a couple of images of that user and be able to generate a percentage match.

I'm not expecting someone just to write this for me but maybe point me in the right direction.

Is there a openCV project that will do A to B face detection.

My idea was using openCV to detect facial features them to plot those features. Is there a way to compare two coordinates to get a percentage using PHP?

Answer

texnic picture texnic · Oct 16, 2014

Face recognition is a rather complex procedure, and doing it with PHP would be suboptimal.

I am looking for a similar solution, and have found this: Web based interface for face detection with OpenCV. The idea is to use a compiled opencv-based program and call it from the PHP code. Fast and convenient.