Skip to content

👀 iOS11 demo application for age and gender classification of facial images.

License

Notifications You must be signed in to change notification settings

Dbxwz/FacesVisionDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faces Vision Demo

iOS11 demo application for age and gender classification of facial images using Vision and CoreML.

FacesVisionDemo

Model

This demo is based on the age, gender and emotion neural network classifiers, which were converted from Caffe models to CoreML models using coremltools python package.

Age classification

Gender classification

Emotion Recognition

Requirements

  • Xcode 9
  • iOS 11

Installation

git clone https://github.com/cocoa-ai/FacesVisionDemo.git
cd FacesVisionDemo
pod install
open Faces.xcworkspace/

Conversion

Download Caffe model and deploy.prototxt. Links can also be found here. Move downloaded files to Covert/EmotionClassification folder.

cd Convert
./download.sh
python age.py
python gender.py
python emotion.py

Download the Age, Gender and Emotion CoreML models and add the files to "Resources" folder in the project's directory.

Build the project and run it on a simulator or a device with iOS 11.

Author

Vadym Markov, markov.vadym@gmail.com

Credits

References

About

👀 iOS11 demo application for age and gender classification of facial images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 61.1%
  • Python 32.0%
  • Shell 5.2%
  • Ruby 1.7%