I have 30 ,40 pictures of humans , Which I want to get in Python code . And make group of similar pics . Like 5 pic of john and 10 of peter . like this . I am new in Image processing thing. So my question is which algo is best for this . And I want to do this on AWS lambda function . Any help would be highly appreciated.
P.S (Its my first ever task in this field. Kindly ignore mistakes of tell me to improve them Thanks)
I would suggest you to do the thing with AWS Rekognition. It's pretty simple. You can achieve what you want in 3 simple steps:
1. Uploading images with metadata: means you are uploading images of person with their names to s3 to store their info to be referenced later
2. Indexing of photos : this means adding info tags to faces , this info is stored in dynamodb and this is done with index_faces api
3. Comparision of photos with indexed faces : this will be achieved with rekognition search_faces_by_image api
Now part 1 code: batch uploading with metadata
Now part 2 code: Indexing
Now part 3 code : Compare
with above compare function you will get the names of faces in photos , then you can decide what you want to do next, like storing photos with same names to a different folder by renaming the photos, this will give photos of different people in different folders
Prerequisites:
create a rekognition collection named family_collection
create a dynamodb table named family_collection