'Create a Face Recognizer Class using Fisher Face Recognizer. Uses
OpenCV\'s FaceRecognizer class. Currently supports Fisher Faces.'

def __init__(self):

    self.supported = True
    self.model = None
    self.train_imgs = None
    self.train_labels = None
    self.csvfiles = []
    self.imageSize = None
    self.labels_dict = {}
    self.labels_set = []
    self.int_labels = []
    self.labels_dict_rev = {}
    try:
        import cv2
        self.model = cv2.createFisherFaceRecognizer()
    except ImportError as AttributeError:
        self.supported = False
        warnings.warn('Fisher    Recognizer    is    supported    by    OpenCV    >=    2.4.4')
