PHP Classes
elePHPant
Icontem

I need a PHP class for face matching: Solution to match faces from uploaded pictures

Recommend this page to a friend!
  All requests RSS feed  >  I need a PHP class for face matching  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

I need a PHP class for face matching

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of Michael by Michael - 1 year ago (2014-10-23)

Solution to match faces from uploaded pictures

This request is clear and relevant.
This request is not clear or is not relevant.

+5

I have a situation where I can upload a picture and it will return the name of the person in the photo by matching the face with the one already in the database.

  • 6 Clarification requests
  • 9. Picture of Lopo Lencastre de Almeida by Lopo Lencastre de Almeida - 1 year ago (2014-10-29) Reply

    This class avoids the need to have OpenCV installed on the server.

    Article about it at http://www.emanueleferonato.com/2010/07/06/php-face-detection-class/

    Code at https://github.com/mauricesvay/php-facedetection

    • 10. Picture of Manuel Lemos by Manuel Lemos - 1 year ago (2014-10-30) in reply to comment 9 by Lopo Lencastre de Almeida Comment

      Keep in mind that the poster does not just want to recognize there is a face in a picture.

      He wants to detect if there is a face in a picture that can be the same as in other pictures of users he has in the database. So it does not seem to be that simple.

  • 7. Picture of Ravi Kumar by Ravi Kumar - 1 year ago (2014-10-29) Reply

    In your case I think phash is more suitable, instead of opencv, if you still want open cv implementation try this https://github.com/mgdm/OpenCV-for-PHP

    • 8. Picture of Ravi Kumar by Ravi Kumar - 1 year ago (2014-10-29) in reply to comment 7 by Ravi Kumar Comment

      Oops forgot to attach this, https://github.com/xwiz/phash

  • 5. Picture of adam berger by adam berger - 1 year ago (2014-10-29) Reply

    If the project involves kożysta camera then you will probably still hook DirectShow SDK library and more you will have to use the mechanisms of multi-threaded and comes here with the help of Intel TBB library should provide the anticipated effect. Although I have no experience in these matters.

    • 6. Picture of adam berger by adam berger - 1 year ago (2014-10-29) in reply to comment 5 by adam berger Comment

      If this project involves the use of cameras that will probably still need to hook up the DirectShow SDK library and more you will have to use the mechanisms of multi-threaded and here comes from using Intel TBB library should provide the anticipated effect. Although I have no experience in these matters.

  • 3. Picture of Dan Thanh by Dan Thanh - 1 year ago (2014-10-29) Reply

    You can try phash algorithm. I think face recognition in an image is very difficult problem to solve. OpenCV may be better.

    • 4. Picture of Manuel Lemos by Manuel Lemos - 1 year ago (2014-10-29) in reply to comment 3 by Dan Thanh Comment

      That can be something that you could implement, given that you know the algorithm.

    • 11. Picture of Dan Thanh by Dan Thanh - 1 year ago (2014-10-30) in reply to comment 4 by Manuel Lemos Comment

      No, thanks. I know only little about OpenCV and the math behind it. I think its too difficult. pHash is average to understand.

  • 2. Picture of Alexandru Ocheana by Alexandru Ocheana - 1 year ago (2014-10-28) Reply

    face matching!? ... you mean face recognition and identity identification based on that picture? You want a face into database, and when you upload any image with the face of that person, the class need to figure out who it is?

    • 1. Picture of Manuel Lemos by Manuel Lemos - 1 year ago (2014-10-27) Reply

      Interesting problem!

      Maybe a wrapper class around the OpenCV library would solve both parts of the problem, i.e. indexing existing pictures and matching a new picture with others in the database.

      That may be a nice suggestion for somebody to create an innovative package.

      Ask clarification

      1 Recommendation

      Imagedit Pro: Image manipulation operations and face detection

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +2

      Picture of Jakob Riedle by Jakob Riedle package author package author Reputation 35 - 1 year ago (2014-11-02) Comment

      This class can do face detection but not face matching. Doesn't use OpenCV

      • 1 Comment
      • 1. Picture of Manuel Lemos by Manuel Lemos - 1 year ago (2014-11-05) Reply

        This is interesting but I am not sure if it can solve the user problem.

        I think he wants to have a way to recognize a face in picture as belonging to a certain user in his site database.

        I guess it would be like Facebook looking at a picture and suggesting that a certain picture is of an user already in the social network.

        I wonder if your class can be used to perform that task.


      Recommend package
      : 
      :