How can I concatenate images of different shapes using python and opencv?
17:13 12 Nov 2017

I have some images(say 5) and each having different shapes. I want to concatenate into one single image for my project report. Can you please provide an easy way using opencv and python?

The resulting image is similar to below.

In numpy I tried something like this, it works but only for two images.

r = np.concatenate((images[1][:, :, 1], images[1][:, :, 3]), axis=1)

Enter image description here

python numpy opencv matplotlib opencv3.0