pavel-zh / face-id

Finding similar faces on iOS device using keras-vggface ML model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

face-id

This project is using keras-vggface to identify similar faces on iOS.
Below are few screenshots demonstrating how it works.
Keras vggface model was converted to CoreML, and is used directly on iOS device.

Converting Keras model to coreml:

model = VGGFace(model='resnet50', include_top=False,
                input_shape=(224, 224, 3),
                pooling='avg')
coreml_model = coremltools.converters.keras.convert(model,
                                                    input_names="image",
                                                    image_input_names="image")
coreml_model.save("vggface-resnet50.mlmodel")

About

Finding similar faces on iOS device using keras-vggface ML model.

License:MIT License


Languages

Language:Swift 100.0%