Tim M 57b5cefde5 Updated all `.md` files to contain newest image il y a 2 ans
..
images 60451f492a added images il y a 6 ans
AgeGender.cpp be8571c6b0 Add gpu support il y a 4 ans
AgeGender.py be8571c6b0 Add gpu support il y a 4 ans
CMakeLists.txt 0b20765203 added code for age gender prediction il y a 6 ans
README.md 57b5cefde5 Updated all `.md` files to contain newest image il y a 2 ans
age_deploy.prototxt 0b20765203 added code for age gender prediction il y a 6 ans
gender_deploy.prototxt 0b20765203 added code for age gender prediction il y a 6 ans
opencv_face_detector.pbtxt 0b20765203 added code for age gender prediction il y a 6 ans
opencv_face_detector_uint8.pb 0b20765203 added code for age gender prediction il y a 6 ans
sample-output.jpg c4618dc092 new file: sample-output.jpg il y a 6 ans
sample1.jpg bc7ba413ca bug fixed and added sample images il y a 6 ans

README.md

Gender and Age Classification using OpenCV Deep Learning ( C++/Python )

This repository contains the code for Gender and Age Classification using OpenCV Deep Learning ( C++/Python ) blog post.

download

Models

Download models from

Gender Net : https://www.dropbox.com/s/iyv483wz7ztr9gh/gender_net.caffemodel?dl=0"

Age Net : https://www.dropbox.com/s/xfb20y596869vbb/age_net.caffemodel?dl=0"

Run Code

C++

cmake .
make
./AgeGender <input_file>(Leave blank for webcam)

Python

python AgeGender.py --input <input_file>(Leave blank for webcam)

Sample Result

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.