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], known_people_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')
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.1a0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for people_finder-0.2.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9005fb3ee687636858349dd864dbbc966a297813dd183af702a4ad65e58226b6 |
|
MD5 | 8ea7d7fcf7c5f78cf8adbe9e24d239d8 |
|
BLAKE2b-256 | d89ce6770b555a2fc783b0bf19e840a5689929f019d7d2207863abb5706fc2f3 |