python script for detecting and extracting faces in pictures using openCV