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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file this_person_does_not_exist_but_has_age_and_gender-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for this_person_does_not_exist_but_has_age_and_gender-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 371d0095f77beb47074df25c39faf01ce0123139a497046d4fb49fb45d6f63f6
MD5 7b8917d44eb2ac5828e4649213e17fbf
BLAKE2b-256 98254d37ea493a585cafe69252a9d3185eda765e161ad4c3aa05a0f8ab94356c

See more details on using hashes here.

Supported by

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