Here is a little CLI script I wrote to draw or detect faces in photos. It uses the opencv package. I will move this to github when I have some free time.
Feel free to leave suggestions with this python script. I'm a noob with python and would like to use it more. I write PHP and JS everyday so the curly braces and the semi-colon seem to distract me while I write python. This script actually inspired me to write more python since the performance is well... superior to PHP in regards to facial detection. It was a bummer finding out that opencv libraries and packages are not available in PHP. I attempted using GD library and for a single facial recognition it took over 30 seconds. facedetect.py takes milliseconds to process multiple faces in a single photo.