Skip to main content

A tool to recognize people in images

Project description

people-finder

A tool to easy recognize people in images.

Install

pip install people-finder

Usage

from people_finder import Recognition, Person

r = Recognition()
# Set the database 
r.set_database('/path/to/db.json')

# Insert recognizable people
p1 = Person('P1', '/path/to/p1/images/')
p2 = Person('P2', '/path/to/p2/images/')
r.insert_recognizable_people([p1, p2])

# Find people in an image
res = r.find_people_in_image('/path/to/image.jpg')
print('People found:')
for person in res:
    print(person.get_name())

Project details


Download files

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

Source Distribution

people_finder-0.1.1a0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

people_finder-0.1.1a0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

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