gaad

Gender and Age recognition from an image


Keywords
python, image, age, gender, detection
License
MIT
Install
pip install gaad==0.4

Documentation

GAAD: Gender-and-Age-Detection

GAAD is a fork of the Gender-and-Age-Detection project.

The purpase of this fork is to make the project available on PyPi (using pip install gaad) in order to detect the gender and age of a person in an image more easily.

Installation

The package can be installed using pip or by cloning this repository.

pip install gaad

Example code

from gaad import get_gender_age

path_to_image = "man1.jpg"

gender, age = get_gender_age(path_to_image, logging=False)

print(gender)
print(age)
>>> Male
>>> (38-43)

Extra information

Extra information on the project can be found in the root-project on github which can be found here https://github.com/smahesh29/Gender-and-Age-Detection.