Face recognition in Java

前端 未结 3 1704
我寻月下人不归
我寻月下人不归 2021-01-31 00:14

Can any one suggest me an open source face recognition framework in Java?

3条回答
  •  迷失自我
    2021-01-31 00:57

    Accurate face recognition is a task that can be broken into several steps:

    1. Face detection
    2. Facial landmark point discovery
    3. Rotation, cropping, alignment, and scaling using your landmarks
    4. Facial descriptor point discovery (these are not human readable)
    5. Comparison to known faces to find the closest match

    This can be done with several libraries but requires bytedeco wrappers for OpenCV and Caffe as well as a library such as ND4j for matrix comparison.

    OpenCV has HAAR cascades for face detection and can use flandmark for facial point recognition. This will allow you to perform steps 1-3.

    Facial descriptor discovery can be done using the bytedeco wrapper for Caffe and VGG Face Descriptor library (http://www.robots.ox.ac.uk/~vgg/software/vgg_face/)

    Finally, Nd4j can be used for comparing images. If you have enough images classified by individual, perhaps you can use a neural network from the library for classification.

提交回复
热议问题