Keras-OpenFace is a project converting OpenFace from Torch implementation to a Keras version
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ipynb_checkpoints Add Accuracy test with SVM and KNN Nov 2, 2017
evaluation Add Accuracy test with SVM and KNN Nov 2, 2017
model 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
weights Refactor the code and add more comments Sep 4, 2017
.gitignore 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
CoreML-Convertion.ipynb 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
Keras-Openface-Accuracy.ipynb 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
Keras-openface-convertion.ipynb 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
README.md 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
Untitled.ipynb Add Accuracy test with SVM and KNN Nov 2, 2017
exportWeight.lua Complete inception3c Aug 20, 2017
facenet.py Refactor the code and add more comments Sep 4, 2017
facenet.pyc 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
gen_emb.py test coreml model Sep 9, 2017
gen_emb.pyc 1. Update read csv file path function Aug 18, 2017
lfw.py Refactor the code and add more comments Sep 4, 2017
lfw.pyc Refactor the code and add more comments Sep 4, 2017
utils.lua 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
utils.py 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017
utils.pyc 1. Add coreml model 2. Update Reademe 3. Remove redundant files 4. In… Nov 1, 2017

README.md

Keras-OpenFace

Keras-OpenFace is a project converting OpenFace from it's original Torch implementation to a Keras version

If you are only interested in using pre-trained model

Load the Keras OpenFace model(Accuracy: 0.938+-0.013)

from keras.models import load_model
from keras.utils import CustomObjectScope
import tensorflow as tf
with CustomObjectScope({'tf': tf}):
  model = load_model('./model/nn4.small2.v1.h5')

Running the whole convertion process and look into Kears-Openface-convertion.ipynb

$ jupyter notebook

CoreML-OpenFace

Pre-trained CoreML version of OpenFace in model/openface.coreml which you can easily integrate OpenFace into your iOS application.