python script for detection and extraction of faces from pictures using openCV