Sorts a given set of images according to the faces and the labels provided.
Clone the repository and checkout to stable commit
git clone https://github.com/akaxhrana/openCV_face_sort.git
cd openCV_face_sort
For pipenv:
pipenv install
-
Dataset has been included with the download already. If you want to use other images, make sure to follow the same procedure.
-
To save encoding with their names, run the first.py script.
python first.py
- Put all the different images you want to sort in the 'INPUT' folder and run the second.py script.
python second.py
- A new folder named 'OUTPUT' will be created grouping same faces.