Facial recognition system in php

Asked

Viewed 1,851 times

3

I would like to make a system in which I saved some photos in the database and from the webcam I took a photo at the time and compared with the ones in the bank, I’ve searched a lot on the internet but I just think recognizing the face of the person, but not in this way.

  • 6

    not ideal to do this in php..

  • 1

    +1 it is not recommended to use PHP for this. Here is a list of API’s: http://blog.mashape.com/list-of-10-face-detection-recognition-apis/

  • You have the one in jquery: http://facedetection.jaysalvat.com/ github: https://github.com/jaysalvat/jquery.facedetection

  • So @Danielomine really saw the guys talking that it would be better to do in another language and then make a bridge shape in php I will look in other languages too.

  • @juniorb2ss looked at the site you sent but apparently the API’s are all paid or have to put card to use even for a while and I have no card, until I managed to get on the site of some and had one that was exactly what I wanted but.. If you have more information on how to use the site I appreciate, maybe I didn’t understand how it works.

  • @Ivanferrer this and what I find most on the internet however that’s not what I want, would more compare one image with another, then it just locates the faces in the image but thank you.

  • Face Apis Detection is actually paid for. Finding an open source is uncomplicated and unaware of the existence of any.

  • The facial recognition algorithms are very complex and there are heavy investments in those that are well developed.. Of course you won’t find anything free on the web that is reasonable. At most you will find services that provide some paid API. I worked with this in 2007, but at the time I did script with PHP and PHP-GD that recognized movements. It was for security cameras. It worked well, but far from ideal in performance. It was more into account, financially, buy a software already approved and recommended commercially.

  • @juniorb2ss And the problem I needed an open source, because what I’m doing is just an academic job, I’ll keep searching but if it’s too hard to find something I’ll think of something else instead of facial recognition.

  • @Danielomine really, I myself have no idea how to make a program like this even because I’m still learning, and in a matter of buying it wouldn’t be worth it because it’s just an academic job, and it’s not TCC then.. I’ll keep searching here, but I’ll end up having to think of another way to authenticate.

  • In that case, just be careful that your work is not copied by third parties. Usually in schools and universities, mentors or other colleagues take advantage of the ingenuity of someone who can create something cool and use it for commercial purposes. If you can create something cool, register a patent before submitting. Don’t fall too far into this open source talk because there’s always a taker sucking on other people’s work.

  • @Danielomine Ok vlw by warning.

  • I know it’s old, but it’s a shame to still find messages like this: "it’s not recommended to be done in PHP". Why not? Nobody explains, nobody says anything, just opinions. Know that even in C# this kind of processing is done through external Pis, and it is perfectly possible to bind with PHP. If anyone still has interest as I am now having after 3 years of the question, go for one in opencv. You can compile the extension for PHP, or even use it via the https://github.com/php-opencv/php-opencv-examplescommand line

Show 8 more comments

1 answer

1

As already mentioned in the comments, PHP is not the ideal language to do the facial recognition itself.

However, as you will develop a web service, it is interesting to think of PHP as the web application that will receive the photos, from receiving them, you connect with a service or another language that will make the recognition itself.

The very task of face recognition from images is not trivial - you need an image database, develop a neural network, train it there so, if all goes well, gather a set of attributes common to each set of photos from the same person.

Obviously this also depends a lot on your requirements: if you need to find images identical existing ones currently (which I find difficult, since they will come from photos taken by webcams) or with a certain degree of similarity.

  • As I said in the comment above I actually saw some people saying this, that it would be better to make a kind of bridge between php and another language, I will start searching in other languages too and then I see a way to make this bridge, in order to analyze the image really would have to be by degree of similarity. If you find a project even in another language that really does this I appreciate it, but of course I’ll do some research too. I saw a lot of people using a library called Opencv I don’t know exactly what it makes easy.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.