title: opencv Python face recognizer.load
body: <p>I have a problem with face detection.</p>
  
  <p><strong>code:</strong></p>
  
  <pre><code>import cv2
  import os
  import numpy as np
  from PIL import Image 
  
  path = 'dataSet'
  cascadePath = "Classifiers/face.xml"
  
  faceCascade = cv2.CascadeClassifier(cascadePath);
  cam = cv2.VideoCapture(0)
  recognizer = cv2.face.LBPHFaceRecognizer_create()
  recognizer.load('trainer/trainer.yml')
  </code></pre>
  
  <p><strong>AttributeError:</strong>  </p>
  
  <pre><code>'cv2.face_LBPHFaceRecognizer' object has no attribute 'Load'
  </code></pre>
  
  <p>Help me, I already researched and still have not found an answer.</p>
  
  <p>I am using <code>python</code> 3.6.1 and <code>opencv</code> 3.0</p>