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.3b0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for people_finder-0.2.3b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc10b8416cb00a8035680edcd95794bab67e86addc1878495f7d26093a23262f |
|
MD5 | 598f8b2d1b9922efc3e6f4829f047006 |
|
BLAKE2b-256 | 92221356cbf799fb83ce73b5f82e4cbefea81fdc3d4bd90d8a0d218f2a8dca2c |