CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    May 2017
    Posts
    3

    face recognation

    I wish to know what packages I need to install to start my facial recognition project

  2. #2
    Join Date
    Feb 2017
    Posts
    674

    Re: face recognation

    Quote Originally Posted by kisae View Post
    I wish to know what packages I need to install to start my facial recognition project
    It's easy, just import facialrecognition.java

    Just kidding. Start by reading up on facial recognition. Then you'll know what you need and can start looking for existing packages or develop your own if you need something novel.
    Last edited by wolle; May 27th, 2017 at 03:23 PM.

  3. #3
    Join Date
    May 2017
    Posts
    3

    Re: face recognation

    I have learn t on images and computer graphics. I also have skills in java, If you have an Idea on image reconation, thats what im looking for.

  4. #4
    Join Date
    Feb 2017
    Posts
    674

    Re: face recognation

    Quote Originally Posted by kisae View Post
    I have learn t on images and computer graphics. I also have skills in java, If you have an Idea on image reconation, thats what im looking for.
    I would assume a facial recognition project consists of three parts:

    - First there's a biometrics part. You need to know what facial features characterize a face. A face biometric probably is a set of relative distances between facial components such as lips, eyes, nose, ears, chin, cheekbones etcetera. You could also include eye and skin color and special features such as scars and tattoos.

    - Secondly there's a feature extraction part. The features needed for the biometrics must be extracted from an image of the face (or from several images from different angles to get a 3D view).

    - Thirdly there's a database search part. The biometric of one face must be compared with the biometric of many faces to check whether there's a match. The matching must handle some degree of "fuzziness" since the biometric of the same face may vary slightly depending on recording circumstances. I know a mathematical technique called Wavelets have been successfully used to perform this kind of searches very quickly.

    I strongly recommend you start simple. For example a face could be reduced to a rectangle with two dots inside. The rectangles vary in shape and the dots vary in location. The face biometric could consist of just three measures: The distance between the dots, the ratio between the short and long rectangle sides, and the angle between a line through the dots and the short rectangle side. This involves basic feature extraction at the level of an introductory image recognition class at a college or university. You should find fully worked out examples in any suitable textbook.

    For more advanced feature extraction you really need to make a literature search. But as I suggested, don't get bogged down in that. Get a simplified but functionally complete well-designed program up and running as early as possible, then refine it in small steps.
    Last edited by wolle; May 29th, 2017 at 11:58 PM.

  5. #5
    Join Date
    May 2017
    Posts
    3

    Re: face recognation

    great. You have given a perfect guide. Ill get started and talk to you in the process. Thank you

  6. #6
    2kaud's Avatar
    2kaud is online now Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,857

    Re: face recognation

    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  7. #7
    Join Date
    Feb 2017
    Posts
    674

    Re: face recognation

    The Microsoft Cognitive Services Face API,

    http://www.codeguru.com/win_mobile/a...your-apps.html

  8. #8
    Join Date
    Jul 2019
    Location
    USA
    Posts
    6

    Re: face recognation

    The document is language agnostic. It shows you what HTTP method to use (i.e. POST), the URL to post to, and what data to send depending on what functionality you need. The post requests returns a JSON you'll need to parse on your end.

  9. #9
    Join Date
    Jul 2019
    Location
    USA
    Posts
    6

    Re: face recognation

    To start your facial recognition project, install these key Python packages:

    OpenCV: pip install opencv-python
    Dlib: pip install dlib
    Face Recognition: pip install face_recognition
    NumPy: pip install numpy
    Pillow: pip install Pillow
    These will cover image processing, face detection, and recognition basics. Let me know if you need more help!

  10. #10
    2kaud's Avatar
    2kaud is online now Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,857

    Re: face recognation

    For a 7-year old Java project...
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured