title: Get pixel coordinates from Brute Force Matching in OpenCV Python
body: <p>I would like to get pixel coordinates of query and train image using OpenCV in Python.</p>
  
  <p>The code is:</p>
  
  <pre><code>import numpy as np
  import cv2
  
  img1 = cv2.imread('qimg.png',0)          # queryImage
  img2 = cv2.imread('timg.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)
  </code></pre>
  
  <p>I want to get the pixel coordinates from each <code>DMatch</code> object.</p>
  
  <p>How do I do that?</p>