Demo app for gender classification of facial images using GenderNet
, Vision
and CoreML
.
Run the app on the device with iOS 12 and higher.
detect faces with Vision
for each face
crop photo to face rect
classify cropped photo with GenderNet
display overlay
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.
- Xcode 10
- iOS 12