Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 17303

How to detect only contours that are within another contour in opencv?

$
0
0

I have the image shown below. How could I detect only the contours of the 4 squares that are inside? I have tried doing it, but I only managed to detect the squares that have contours within them, but I need to know it the other way around.

enter image description here


Viewing all articles
Browse latest Browse all 17303

Latest Images

Trending Articles



Latest Images