This is complementary source code for my blog post.
Here is the demo
- Python3.5
- numpy 1.13.3+mkl
- Keras 2.0.8+
- TensorFlow 1.4.0
- opencv 1.0.1+
- opencv-python 3.3.0+contrib
Tested on:
- Windows 10 with Tensorflow 1.4.0 GPU
pip3 install -r requirements.txt
python realtime_demo.py
When you use it for the first time , weights are downloaded and stored in ./pretrained_models folder. Or you can download it directly from
https://github.com/Tony607/Keras_age_gender/releases/download/V1.0/weights.18-4.06.hdf5