title: OpenCV: How to merge two static images into one and emboss text on it?
body: <p>I have completed an image processing algorithm where I extract certain features from two similar images.</p>
  
  <p>I'm using OpenCV2.1 and I wish to showcase a comparison between these two similar images. I wish to <strong>combine both the images into one</strong>, where the final image will have both the images next to one another. Like in the figure below.
  <a href="https://i.stack.imgur.com/vS8fy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vS8fy.jpg" alt="alt text"></a>
  </p>
  
  <p>Also, the black dots are the similarities my algorithm has found, now I want to mark them with digits. Where, <strong>point 1 on the right</strong> is the <strong>corresponding matching point</strong> on the left.**</p>
  
  <p>What OpenCV functions are useful for this work?</p>