How to crop the images in an image?

Hi, everyone, I wish the happiness to all of you and your family.

I came here to need your help in image processing using opencv.

I have got several images and each image


contains several images without intersections. It would work whether there exists the gaps or not with color.

can you help me?