Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.23 KB

README.md

File metadata and controls

28 lines (24 loc) · 1.23 KB

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")