• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    C++
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Caffe implementation of age and gender classification using convolutional neural network

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"