Giter VIP home page Giter VIP logo

lbp_gender_classifier's Introduction

Gender Classification using LBP

This code implements a Gender Classification algorithm using LBP features in C++ using OpenCV 2.4.9. The code was originally developed as a homework for a Computer Vision course in 2014 so it possesses no optimizations whatsoever and focused solely on working as intended.

Notes

  • The code is intended for use with the images inside the data folder.
  • The LBP algorithm used is LBP(8,1,u2) and is described in the references.

Instructions

After compiling, the program has two ways of executing:

./gender_classifier
./gender_classifier (int from 1 to 4)
./gender_classifier (int from 1 to 4) (0 or 1)
  • The first one uses a default kernel (LINEAR) and no-hair faces for the SVM.
  • The second one allows the use of other kernels (1 for LINEAR, 2 for POLYNOMIAL, 3 for RADIAL BASIS FUNCTION and 4 for SIGMOIDAL). Parameters for each kernel can be modified in src/main.cpp for tuning up purposes.
  • The third one lets you choose of the two face folders which to use (0 for images with no-hair, 1 for images with hair)

References

  • Ahonen, T.; Hadid, A.; Pietikainen, M., "Face Description with Local Binary Patterns: Application to Face Recognition," Pattern Analysis and Machine Intelligence, IEEE Transactions on , vol.28, no.12, pp.2037,2041, Dec. 2006

Contact

Cristobal Silva

crsilva at ing dot uchile dot cl

lbp_gender_classifier's People

Contributors

canas avatar

Stargazers

Achmad Zidan Akbar avatar

Watchers

James Cloos avatar  avatar

lbp_gender_classifier's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.