Python implementation of a live deep learning based age/gender/smile/celebrity twin recognizer.
All components use convolutional networks:
The detailed functionality of the system (without multitask and celebrity similarity) is described in our paper:
Janne Tommola, Pedram Ghazi, Bishwo Adhikari, Heikki Huttunen, "Real Time System for Facial Analysis," Submitted to EUVIP2018.
If you use our work for research purposes, consider citing the above work.
Dependencies: OpenCV 4.0.1+, Tensorflow 1.8+, Keras 2.2.3+, and faiss.
pip3 install opencv-python
(includes GTK support, which is required). Freetype support for nicer fonts requires manual compilation of OpenCV.conda install tensorflow=1.10.0=mkl_py36hb361250_0
. Seek for proper versions with conda search tensorflow
.). On GPU, use pip3 install tensorflow-gpu
.pip3 install keras
.pip3 install dlib
.conda install faiss-cpu -c pytorch
.python3 EstimateAge.py
.Required deep learning models and celebrity dataset. Extract directly to the main folder so that 2 new folders are created there.
Contributors: Heikki Huttunen, Janne Tommola