Face dataset organized by folder
I've found a dataset the meet the specification here:

https://www.kaggle.com/atulanandjha/lfwpeople/data#lfw-funneled.tgz

Some people in this dataset have only very few image.

We can create a new one dataset using the following bash command, in order to exctract only the people that contains more than 5 images:

# Extract only the people that have more than 5 photos (-gt 5)
for i in $(ls); do a=$(ls $i |wc -l); if [ "$a" -gt 5 ]; then echo $i ; fi ; done &gt; people_ok
# Create a directory for store the images
mkdir -p /tmp/faces
# Copy the filtered directory in the new one
for i in $(cat people_ok  | xargs echo -n) ; do cp -r $i /tmp/faces/ ; done