old_contents: def facerecognizer():
      opencv.capture()
      opencv.setDisplayFilter("FaceRecognizer")
      fr.train()# it takes some time to train and be able to recognize face
      #if((lastName+"-inmoovWebKit" not in inmoovWebKit.getSessionNames())):
          #mouth.speak("Hello "+lastName)
          #sleep(2)
      #inmoovWebKit.getResponse(lastName,data)
  
new_contents: def facerecognizer():
      i01.opencv.capture()
      i01.opencv.setDisplayFilter("FaceRecognizer")
      fr.train()# it takes some time to train and be able to recognize face
      #if((lastName+"-inmoovWebKit" not in inmoovWebKit.getSessionNames())):
          #mouth.speak("Hello "+lastName)
          #sleep(2)
      #inmoovWebKit.getResponse(lastName,data)
  
subject: Update facerecognizer.py