OpenFace escapes Torch, lands in Keras with a CoreML backpack
A port of CMU's face-recognition model for developers who'd rather not touch Lua.

What it does
Takes the OpenFace neural network—originally written in Torch/Lua—and reimplements it in Keras with a pre-trained model ready to load. The project also ships a CoreML conversion, so you can drop face recognition into an iOS app without writing a line of model code.
The interesting bit
The conversion itself is the product: the repo is essentially a Jupyter notebook walkthrough of translating a working Torch model into Keras, weights and all. That makes it useful as both a tool and a Rosetta Stone for model porting. The CoreML bonus suggests the author actually wanted to ship something, not just prove a point.
Key highlights
- Pre-trained Keras model included (
nn4.small2.v1.h5), claimed accuracy 0.938 ± 0.013 - CoreML model ready for iOS integration in
model/openface.coreml - Conversion process documented in a single Jupyter notebook
- Apache 2.0 licensed, including model files
- Based on CMU’s well-known OpenFace implementation
Caveats
- README is sparse: no dependencies listed, no usage examples beyond model loading
- The “Kears” typo in the notebook filename hints at limited maintenance
- Accuracy claim lacks context—0.938 on which dataset, under what conditions? The README doesn’t say
Verdict
Grab this if you need OpenFace in Keras or CoreML and don’t want to port it yourself. Skip it if you need training pipelines, active maintenance, or documentation beyond “load this .h5 file.”