This Go implementation read all .jpg, .jpeg and .png images from the src directory, detect all faces with the Pigo face detection library, crop all found faces and store them with a uniqe file name crc hash into the dst directory.
$ git clone https://github.com/danielchristianschroeter/crop-faces-from-images-with-Pigo-in-Go
$ cd Crop-Faces-from-Images-with-Pigo-in-Go
# Cleanup demonstration images in src and dst directory
# Copy any images into src directory
$ go run .
Example group image in src directory is from https://unsplash.com/photos/Z9FZQMwCPpk