title: module' object has no attribute 'drawMatches' opencv python
body: <p>I am just doing an example of feature detection in OpenCV.  This example is shown below.  It is giving me the following error</p>
  
  <p><strong>module' object has no attribute 'drawMatches'</strong></p>
  
  <p>I have checked the OpenCV Docs and am not sure why I'm getting this error.  Does anyone know why?</p>
  
  <pre><code>import numpy as np
  import cv2
  import matplotlib.pyplot as plt
  
  img1 = cv2.imread('box.png',0)          # queryImage
  img2 = cv2.imread('box_in_scene.png',0) # trainImage
  
  # Initiate SIFT detector
  orb = cv2.ORB()
  
  # find the keypoints and descriptors with SIFT
  kp1, des1 = orb.detectAndCompute(img1,None)
  kp2, des2 = orb.detectAndCompute(img2,None)
  
  # create BFMatcher object
  bf = cv2.BFMatcher(cv2.NORM_HAMMING, crossCheck=True)
  
  # Match descriptors.
  matches = bf.match(des1,des2)
  
  # Draw first 10 matches.
  img3 = cv2.drawMatches(img1,kp1,img2,kp2,matches[:10], flags=2)
  
  plt.imshow(img3),plt.show()
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "match.py", line 22, in &lt;module&gt;
  img3 = cv2.drawMatches(img1,kp1,img2,kp2,matches[:10], flags=2)
  AttributeError: 'module' object has no attribute 'drawMatches'
  </code></pre>