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
# Init
r = Recognition()
# Insert recognizable people
p1 = 'P1'
p2 = 'P2'
r.insert_recognizable_people([p1, p2], train_folder_path = 'path/to/known/people')
# Train the dataset
r.train_dataset(train_folder_path = 'path/to/known/people', trained_model_path = "trained_model.clf")
# Find people in an image
res = r.find_people_in_image('/path/to/image.jpg', trained_model_path = "trained_model.clf")
print('People found:')
for person in res:
print(person)
Project details
Release history Release notifications | RSS feed
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.2.5b0.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file people-finder-0.2.5b0.tar.gz
.
File metadata
- Download URL: people-finder-0.2.5b0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 879f4ce66247d55ce7aef752494fbce0de9c5f272a62409f031be6aea2c5bab8 |
|
MD5 | 9fc67dba70078ceb43e8de860242c37f |
|
BLAKE2b-256 | 2c76c12d3707ac5d8f6a217eb34fed377dc189783bb8414842e38b3c93374a44 |
File details
Details for the file people_finder-0.2.5b0-py3-none-any.whl
.
File metadata
- Download URL: people_finder-0.2.5b0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c2a327e3e54503a1ba022ea0e87773ecaeec0527655cfce087cd36ace9aaa6e |
|
MD5 | 3e28a70e75e1c0329d14defa17fc9270 |
|
BLAKE2b-256 | 49f34cabb28c0daf666af52c5b30d5f9f05ab2fe09174c5857a71e088eb9fbdf |