CUFCTL / face-recognition

A GPU-accelerated real-time face recognition system based on classical machine learning algorithms
MIT License
23 stars 11 forks source link

Script to detect and crop faces #21

Closed bentsherman closed 7 years ago

bentsherman commented 7 years ago

Since the long-term goal of this project is to make a real-time recognition system, we need a script that can take an image, detect all of the faces in it, and output cropped images of each face. Colin was working on such a script over the summer with OpenCV, but don't go trying to build OpenCV from source and then writing it in C++! There's an easier way -- we've since learned that OpenCV has a Python interface.

So for anyone who wants to work on this script, figure out how to set up Python on your system and install opencv (there should be a pip module for it), play around with it, and then figure out how to detect faces!

bentsherman commented 7 years ago

Colin's face crop basically works now.