title: Face recognition attribute error in Python 3.6 version
body: <p>I am trying to run some face detect and face recognition code. But while I try to run the code for training data it shows some error. I am using Python 3.6 version and OpenCV module in Windows platform. I am adding code to first and error later.</p>
  
  <p><img src="https://i.stack.imgur.com/wl643.png" alt="train the data"></p>
  
  <p>and it shows following error:</p>
  
  <pre><code>C:\Users\MAN\AppData\Local\Programs\Python\Python36\python.e‌​xe C:/Users/MAN/PycharmProjects/facerecognition/Train/train.py
  Traceback (most recent call last): File "C:/Users/MAN/PycharmProjects/facerecognition/Train/train.py‌​", line 5, in &lt;module&gt; recognizer = cv2.createLBPHFaceRecognizer()
      AttributeError: module 'cv2.cv2' has no attribute 'createLBPHFaceRecognizer'
      Process finished with exit code 1
  </code></pre>