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

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.