Skip to content

Easy Real time gender age prediction from webcam video with Keras

Notifications You must be signed in to change notification settings

Tony607/Keras_age_gender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Real time gender age prediction from webcam video with Keras

This is complementary source code for my blog post.

Here is the demo

alt text

Dependencies

  • 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

install requirements

pip3 install -r requirements.txt

Run the demo

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