FaceID
This is an implementation of face detector and recognizer which can identify the face of the person showing on a IOS camera.
Image preprocessing: face detection, alignment and resizing. Built a database containing embeddings of identity images Computed euclidean distance of embeddings between tested and identity faces to perform identity recognition image
For Face Detection (in real time or an image): we show how to implement face detection using OpenCV or Multi-task CNN;
For Face Recognition (in real time or an image): we use a deep neural network, the model we use is based on FaceNet, which was published by Google in 2015 and achieved 99.57% accuracy on a popular face recognition dataset named “Labeled Faces in thae Wild(LFW)". You can find its open-source Keras version here and Tensorflow version here, and play around to build your own models.
- Collecting face data (your face pictures) and labels and save to dataset folder.
- Input face data and labels into model to train a recognition model.
- Download the model
- Use this template on your model to perform face recognition on IOS device.
- Download this repository as zip file and unzip it to a folder.
- perform a Pod Install in that folder (this installs all the required packages)
- Open Xcode and run the project file.
- You can import your custom model in the model folder and then perform the face recognition on your data.