title: How can I augment a .png image on another?
body: <p>I am trying to find a way to augment a png image on another image in OpenCV python</p>
  <p><strong>Summary:</strong></p>
  <blockquote>
  <p>I have obtained 2 pts(points) and I have to augment image according to their position</p>
  </blockquote>
  <p><strong>Problem</strong></p>
  <p>the points keep changing and the image is not the size of original image</p>
  <p><em><strong>Update:</strong></em></p>
  <p>I figured out how I can rotate image by using</p>
  <pre><code>height, width = img.shape[: 2]
  rotation_mat_R = cv2.getRotationMatrix2D((width / 2, height / 2), 45, .5)
  rotated_image_output = cv2.warpAffine(img, rotation_mat_R, (width, height))
  </code></pre>
  <p>but I can't seem to figure out how to augment the rotated .png image</p>