Skip to main content

Get the person with right gender and age

Project description

This Person Does Not Exist But Has Age And Gender

Python package for getting the person with requested gender and age from This Person Does Not Exist website.

It's getting right person, by downloading image of a randomly generated person from This Person Does Not Exist and then checking gender and age of that person, with use of OpenCV library.

Installation

Use the package manager pip to install.

pip install this_person_does_not_exist_but_has_age_and_gender

Usage

from this_person_does_not_exist_but_has_age_and_gender import get_person

get_person("male", 30) # returns filename of downloaded picture of a person

It can be also used from command line

python this_person_does_not_exist_but_has_age_and_gender.py male 30

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page