Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- fishface = cv2.face.FisherFaceRecognizer_create()
- try:
- fishface.read('XXX/trained_emoclassifier.xml')
- except:
- print("no xml found. Using --update will create one.nn")
- parser = argparse.ArgumentParser(description="Options for the emotion-based music player")
- parser.add_argument("--update", help="Call to grab new images and update the model accordingly", action="store_true")
- args = parser.parse_args()
Add Comment
Please, Sign In to add comment