How can I perform facial recogntion on iOS?

前端 未结 2 926
太阳男子
太阳男子 2020-12-03 16:06

I\'ve started work on an application for iOS that would recognize faces from a photo or from the iPhone / iPad camera.

Existing solutions like OpenCV and Core Image

2条回答
  •  攒了一身酷
    2020-12-03 16:36

    What OpenCV does is called "face detection." This is different than, but related to, face recognition, which is what you seem to want to do.

    Face detection "detects" faces by finding the location of facial features such as the eyes, the mouth, etc. To "recognize" these faces, you then need to compare these features with a database of known faces, for which the features have already been detected.

    I'm not aware of a face recognition library for iOS, and this is no easy feat. Even Apple's own iPhoto has, in my experience, very low accuracy.

    However, if you only want to do face detection, or want to build your own facial recognition algorithm on top of a face detection library, iOS 5 also includes a face detection API. You can find it in the CoreImage framework.

提交回复
热议问题