Algorithm For Face Detection In Python