update take_face_photos.py make detect face to classmethod