# How to crop the images in an image?

**URL:** <https://forum.opencv.org/t/how-to-crop-the-images-in-an-image/19672>\
**Category:** Python\
**Tags:** imgproc\
**Created:** [January 3, 2025, 11:05am UTC](https://forum.opencv.org/t/how-to-crop-the-images-in-an-image/19672 "2025-01-03T11:05:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![scar](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@scar](https://forum.opencv.org/u/scar)\
**Post date:** [January 3, 2025, 11:05am UTC](https://forum.opencv.org/t/how-to-crop-the-images-in-an-image/19672/1 "2025-01-03T11:05:55Z")

</div>

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

 ![3](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/f/f0c0e28e25286d646ce462bce4b1ed1c9975cbeb.jpeg)  
contains several images without intersections. It would work whether there exists the gaps or not with color.

can you help me?

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [February 3, 2025, 6:40pm UTC](https://forum.opencv.org/t/how-to-crop-the-images-in-an-image/19672/3 "2025-02-03T18:40:45Z")

</div>

> [@microg](#):
>
> You can use OpenCV’s `cv2.findContours()` function to detect the individual images within the larger image.

please demonstrate that.
