def __init__(self):
        FaceRecognizer.__init__(self)
        logger.info('Creating AWS Rekognition client.')
        self._aws_client = boto3.client('rekognition')
        self._face_registries = self._get_aws_collections()
        self._active_face_registry = None

        # Holds current registry details
        self._registry_faces = []
        self._registry_face_names = []
        self._registry_face_ids = []

        self._detection_attributes = ['DEFAULT']
        self._detection_threshold = 80.0
        self._matching_threshold = 70.0
        # Enabling this will get more facial attributes such as age, gender.
        # self._detection_attributes = ['DEFAULT', 'ALL']
        logger.info('Created face recognizer.')
        logger.info('Existing face registries {}'.format(
            self._face_registries))