xuanhan863 / age-and-gender-classification

Age and Gender Classification using Convolutional Neural Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Age and Gender Classification using Convolutional Neural Network

Implementation of paper Age and Gender Classification using Convolutional Neural Network (June, 2015) using caffe.

Requisites

1. Caffe (Deep Learning Library)

2. openCV (Computer Vision Library)

Directories

1. img

Containing test images.

2. model

Containing model files(prototxt file), weight files(caffemodel file) and mean file(binaryproto file).
You can also download those files and see details from here.

3. src

Containing source files and header files. As you can notice intuitively, GenderClassification.cpp and GenderClassification.h
are for gender classification, AgeClassification.cpp and AgeClassification.h are for age classification and Main.cpp has main.

How to run

  1. Build and make a exe file, 'AgeAndGenderClassification.exe'
  2. Command is like below.

AgeAndGenderClassification.exe "GENDER_MODEL_FILE_PATH" "GENDER_WEIGHT_FILE_PATH" "AGE_MODEL_FILE_PATH" "AGE_WEIGHT_FILE_PATH" "MEAN_FILE_PATH" "TEST_IMG_PATH"

About

Age and Gender Classification using Convolutional Neural Network


Languages

Language:C++ 100.0%