I am looking to display some images in **OpenCV Python** with titles and borders around the each subplot. something like this (courtesy of the following stackoverflow post: [OpenCV (Python) video subplots](https://stackoverflow.com/questions/37669622/opencv-python-video-subplots)):

**WHAT I WANT:**
[![enter image description here](https://i.stack.imgur.com/UE4m7.jpg)](https://i.stack.imgur.com/UE4m7.jpg)

But I only manage to get this with that code adapted.

```
 import cv2
 im1 = cv2.imread('Lenna.png')
 final_frame = cv2.hconcat((im1, im1))
 cv2.imshow('lena', final_frame)

```

 ~~**WHAT I HAVE**
[![enter image description here](https://i.stack.imgur.com/SqWMq.jpg)](https://i.stack.imgur.com/SqWMq.jpg)~~ 

Is it possible to obtain this using OpenCV?
 I know a workaround would be to put text on the images, but that's not what I want because it will cover important information that way.

**UPDATE**

My bad, I didn't specify initially: **I have 4 subplots** (so 4 different images) and not two like in the example. Also, I want the solution to be as fast as possible since I have video (time restrictions)

[![enter image description here](https://i.stack.imgur.com/dLUjY.jpg)](https://i.stack.imgur.com/dLUjY.jpg)