'Process image.'

def process_image(self, image):

    import face_recognition
    fak_file = io.BytesIO(image)
    fak_file.name = 'snapshot.jpg'
    fak_file.seek(0)
    image = face_recognition.load_image_file(fak_file)
    unknowns = face_recognition.face_encodings(image)
    found = []
    for unknown_face in unknowns:
        for (name, face) in self._faces.items():
            result = face_recognition.compare_faces([face], unknown_face)
            if result[0]:
                found.append({ATTR_NAME: name})
    self.process_faces(found, len(unknowns))
