face-segmentation-keras icon indicating copy to clipboard operation
face-segmentation-keras copied to clipboard

A port of YuvalNirkin/face_segmentation repo to keras.

face_segmentation_keras

A port of YuvalNirkin/face_segmentation repo to keras.

Descriptions

  1. FCN8s_caffe2keras_weights.ipynb
  • This notebook download FCN8s caffe model from YuvalNirkin's repo and convert it to a keras weights file.
  1. FCN8s_keras_demo.ipynb
  • This notebook is the demo of keras FCN8s for face segmentation.
  1. Keras weights file

Results

Update Jun. 5th, 2018: The author contacted me, and mentioned that the the original model was trained on preprocessed (detecting and cropping) data. Applying the model on full images, such as the following examples, will yield suboptimal results. Please visit the official repo for more detail.

Successful cases

1

2

3

Failure cases

4

5

Images are from Pexels, GAHANG, and PAKUTASO.