Camera smile detection in Python