/Tate-Hack

A collection of random things for #hackthespace

Primary LanguagePython

Tate-Hack

A collection of faces for #hackthespace.

This script uses Python to download all the images from https://github.com/tategallery/collection/blob/master/artist_data.csv

It runs the image through OpenCV's face recognition.

If a face is detected, it crops the face and saves it as a separate image. This will detect multiple faces per image.

eigensave.py will generate an Eigenface model and save it to disk.

recognise.py will compare a photograph to the model and print out the nearest match.

Full write up at http://shkspr.mobi/blog/2014/06/which-painting-do-you-look-like-comparing-faces-using-python-and-opencv/