Guest User

Untitled

a guest
May 23rd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import cv2
  2.  
  3.  
  4. fishface = cv2.face.FisherFaceRecognizer_create()
  5.  
  6. try:
  7. fishface.read('XXX/trained_emoclassifier.xml')
  8. except:
  9. print("no xml found. Using --update will create one.nn")
  10.  
  11. parser = argparse.ArgumentParser(description="Options for the emotion-based music player")
  12.  
  13. parser.add_argument("--update", help="Call to grab new images and update the model accordingly", action="store_true")
  14.  
  15. args = parser.parse_args()
Add Comment
Please, Sign In to add comment