# \#contours

**URL:** https://forum.opencv.org/tag/contours/199.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Large contour not found in binary image](https://forum.opencv.org/t/large-contour-not-found-in-binary-image/18955)

<div class="topic-metadata">

**Author:** [@Jacob\_123](https://forum.opencv.org/u/Jacob_123)\
**Replies:** 3\
**Last updated:** [October 14, 2024, 8:23am UTC](https://forum.opencv.org/t/large-contour-not-found-in-binary-image/18955 "2024-10-14T08:23:16Z")

</div>

I have a binary image (binary\_image\_full\_sizes.png) and I would like to find the large oval contour in the middle. The cv2.findContours() function does not return the contour I’m looking for but when I scale the image by…

---

## [Extracting MICR in Cheques](https://forum.opencv.org/t/extracting-micr-in-cheques/18166)

<div class="topic-metadata">

**Author:** [@dids-reyes](https://forum.opencv.org/u/dids-reyes)\
**Replies:** 2\
**Last updated:** [July 5, 2024, 9:45am UTC](https://forum.opencv.org/t/extracting-micr-in-cheques/18166 "2024-07-05T09:45:41Z")

</div>

Hey guys i need help, i’m new to OpenCV and i’m trying to make these work GitHub - atul04/Banck-Cheque-OCR-and-MICR-Detection: Bank Cheque OCR using Pytesseract and MICR detection using contour detection and pattern rec…

---

## [Order of points in findcontours()](https://forum.opencv.org/t/order-of-points-in-findcontours/17841)

<div class="topic-metadata">

**Author:** [@spardoel](https://forum.opencv.org/u/spardoel)\
**Replies:** 4\
**Last updated:** [June 4, 2024, 6:23pm UTC](https://forum.opencv.org/t/order-of-points-in-findcontours/17841 "2024-06-04T18:23:59Z")

</div>

Hello, I need to order a set of points that form a curve on an image. After processing, the input image is a black background with a single white line. I am using findcontours() to follow the edge and output the list …

---

## [How to clean a noisy contour](https://forum.opencv.org/t/how-to-clean-a-noisy-contour/17492)

<div class="topic-metadata">

**Author:** [@greg3124](https://forum.opencv.org/u/greg3124)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 12:56pm UTC](https://forum.opencv.org/t/how-to-clean-a-noisy-contour/17492 "2024-05-01T12:56:51Z")

</div>

I am assembling a jigsaw puzzle with opencv in python, and making good progress. It is here on colab. The puzzle piece images come from kaggle and piece edges are quite messy. Some pieces here: I applied some morpho…

---

## [Detecting first inner black circle and making a contour](https://forum.opencv.org/t/detecting-first-inner-black-circle-and-making-a-contour/16687)

<div class="topic-metadata">

**Author:** [@zeeshanbabar112](https://forum.opencv.org/u/zeeshanbabar112)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 9:41am UTC](https://forum.opencv.org/t/detecting-first-inner-black-circle-and-making-a-contour/16687 "2024-03-07T09:41:35Z")

</div>

Dear All, I am trying to determine the first inner black circle appearing after the solid white. I have tried many ways but have not been able to find a suitable threshold value for this. My code looks like this gua…

---

## [Fast contour set comparison?](https://forum.opencv.org/t/fast-contour-set-comparison/13426)

<div class="topic-metadata">

**Author:** [@Stuart\_Reynolds](https://forum.opencv.org/u/Stuart_Reynolds)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 5:02pm UTC](https://forum.opencv.org/t/fast-contour-set-comparison/13426 "2023-06-08T17:02:01Z")

</div>

Suppose that I have a whole bunch of masks describing contours/patches of objects in an image. Is there an efficient way to test contours for similarity between images? (I’d like to avoid N\*N, particularly on whole-image…

---

## [How to find the area of a binary image or contour](https://forum.opencv.org/t/how-to-find-the-area-of-a-binary-image-or-contour/12750)

<div class="topic-metadata">

**Author:** [@AfroGenome](https://forum.opencv.org/u/AfroGenome)\
**Replies:** 3\
**Last updated:** [April 10, 2023, 3:17pm UTC](https://forum.opencv.org/t/how-to-find-the-area-of-a-binary-image-or-contour/12750 "2023-04-10T15:17:51Z")

</div>

Hello everyone, beginner OpenCV student here: I am trying to overlay 2 images (or binary images) on each other and I need to find the area of the section where both images intersect. To do this, my approach is simple: …

---

## [Contour based template](https://forum.opencv.org/t/contour-based-template/12623)

<div class="topic-metadata">

**Author:** [@Mestan\_Unsal\_TEKIS](https://forum.opencv.org/u/Mestan_Unsal_TEKIS)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 8:25am UTC](https://forum.opencv.org/t/contour-based-template/12623 "2023-03-31T08:25:57Z")

</div>

contour based template I want to match, how can I follow a path.

---

## [Connecting two contours for making an order of points data](https://forum.opencv.org/t/connecting-two-contours-for-making-an-order-of-points-data/12008)

<div class="topic-metadata">

**Author:** [@Henry\_Shin](https://forum.opencv.org/u/Henry_Shin)\
**Replies:** 1\
**Last updated:** [February 15, 2023, 8:25am UTC](https://forum.opencv.org/t/connecting-two-contours-for-making-an-order-of-points-data/12008 "2023-02-15T08:25:02Z")

</div>

I would like to make an order of points data by connecting contours like below. What can I do for that? Please help me.

---

## [How to close the contour](https://forum.opencv.org/t/how-to-close-the-contour/11395)

<div class="topic-metadata">

**Author:** [@Artsiom](https://forum.opencv.org/u/Artsiom)\
**Replies:** 3\
**Last updated:** [December 22, 2022, 2:16pm UTC](https://forum.opencv.org/t/how-to-close-the-contour/11395 "2022-12-22T14:16:50Z")

</div>

Hi, I’m stuck with one problem for me. I process a photo with an object and under certain conditions, I get a result that is reflected in the attached screenshot. I want to close the rectangle contour by fitting it into…

---

## [How to separate external and internal contour](https://forum.opencv.org/t/how-to-separate-external-and-internal-contour/10513)

<div class="topic-metadata">

**Author:** [@Tal\_Gaon](https://forum.opencv.org/u/Tal_Gaon)\
**Replies:** 3\
**Last updated:** [October 30, 2022, 11:10am UTC](https://forum.opencv.org/t/how-to-separate-external-and-internal-contour/10513 "2022-10-30T11:10:54Z")

</div>

Hi, I’m trying to find a way to paint an outer contour without painting all the inner contours. The goal at the end is to create a game where contours can be filled with colors like a coloring game for children, when I …

---

## [OpenCv contours only around columns in Red Boxes](https://forum.opencv.org/t/opencv-contours-only-around-columns-in-red-boxes/9242)

<div class="topic-metadata">

**Author:** [@Hyder](https://forum.opencv.org/u/Hyder)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 11:13am UTC](https://forum.opencv.org/t/opencv-contours-only-around-columns-in-red-boxes/9242 "2022-06-20T11:13:18Z")

</div>

I am trying to make contours only in red rectangle areas in the original image. So that OpenCV will send only specific text for tesseract OCR. My current code is making contours over the whole tables. I am not much aware…

---

## [Is it possible to collect contours from this image?](https://forum.opencv.org/t/is-it-possible-to-collect-contours-from-this-image/8503)

<div class="topic-metadata">

**Author:** [@Curb](https://forum.opencv.org/u/Curb)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 3:37pm UTC](https://forum.opencv.org/t/is-it-possible-to-collect-contours-from-this-image/8503 "2022-04-22T15:37:40Z")

</div>

I have applied some image processing to an image of an object in a furnace which is seen below is it possible to extract contours from the image that outline the object in the furnace, I have tried multiple things an…

---

## [Number of Columns Detector](https://forum.opencv.org/t/number-of-columns-detector/7531)

<div class="topic-metadata">

**Author:** [@walucas](https://forum.opencv.org/u/walucas)\
**Replies:** 0\
**Last updated:** [February 11, 2022, 5:14pm UTC](https://forum.opencv.org/t/number-of-columns-detector/7531 "2022-02-11T17:14:25Z")

</div>

I am trying to develop an algorithm that will count the number of columns blocks a specific image has. I tried a few algorithms, will paste them here, but they are not always accurate. I can see the contours and merge …

---

## [Contour of the difference between two images](https://forum.opencv.org/t/contour-of-the-difference-between-two-images/7060)

<div class="topic-metadata">

**Author:** [@frage12358](https://forum.opencv.org/u/frage12358)\
**Replies:** 2\
**Last updated:** [January 16, 2022, 8:44pm UTC](https://forum.opencv.org/t/contour-of-the-difference-between-two-images/7060 "2022-01-16T20:44:42Z")

</div>

For a university project I need to compare two images I have taken and find the differences between them. To be precise I monitor a 3d printing process where I take a picture after each printed layer. Afterwards I need …

---

## [Bent pins in connector](https://forum.opencv.org/t/bent-pins-in-connector/4133)

<div class="topic-metadata">

**Author:** [@Antrac1t](https://forum.opencv.org/u/Antrac1t)\
**Replies:** 2\
**Last updated:** [July 13, 2021, 1:00pm UTC](https://forum.opencv.org/t/bent-pins-in-connector/4133 "2021-07-13T13:00:54Z")

</div>

Hi, I started working on checking data connector for servers where we facing with bent pins problems (just edge pins can be bent) and sometimes with foam contamination (part of foam cover 1-n pins). Part of first probl…

---

## [Shifting of begin/end point of contour between images](https://forum.opencv.org/t/shifting-of-begin-end-point-of-contour-between-images/3132)

<div class="topic-metadata">

**Author:** [@iceicebaby](https://forum.opencv.org/u/iceicebaby)\
**Replies:** 6\
**Last updated:** [May 6, 2021, 3:16pm UTC](https://forum.opencv.org/t/shifting-of-begin-end-point-of-contour-between-images/3132 "2021-05-06T15:16:06Z")

</div>

Hi all! I am working on a project where I am tracking the evolution of ice crystals over time and specifically the curvature of contours at certain points of the contours. My raw data consists of snapshots of the sampl…
