bipinkc19 / unsupervised-face-clustering

Sorts images according to people in them and creates separate folder for each individual

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unsupervised people separator from photos

Can be used as a huge time saving tools in labeling images by face eg. creating a dataset of face recognition.

Seperates images of different people in different folders by unsupervised learning so that you can send all of the photos if your friend who keeps on saying "ऐ मेरो सबै फोतो पठाईदे ह तेरो मोबाइलको।" (Send all my photos to your on phone.) ** Literal google translate

Best works in one person per image

Methodology

Uses face detection modules to extract only face then gets embeddings from the cropped face. These embeddings are then used to do unsupervised clustering through which large amount of images are clustered and seperated according to people in it.

To run

Store all the image in folder of name of your choice in the main directory.

Download models folder from this link

Then run

python3 unsupervised.py

About

Sorts images according to people in them and creates separate folder for each individual


Languages

Language:Python 100.0%