/FacesVision

Demo app for gender classification of facial images using GenderNet, Vision and CoreML.

Primary LanguageSwift

FacesVision

Demo app for gender classification of facial images using GenderNet, Vision and CoreML.

FacesVisionDemo

Installation

Run the app on the device with iOS 12 and higher.

How it works

detect faces with Vision
for each face
  crop photo to face rect
  classify cropped photo with GenderNet
  display overlay

Gender classification model

This app is based on the gender neural network classifier, which was converted from Caffe model to CoreML model using coremltools python package.

Ready to use CoreML model is stored in this repository. If you want you can find original Caffe model here and convert it to CoreML yourself.

Requirements

  • Xcode 10
  • iOS 12

References