Ask Your Question

Revision history [back]

Bounding boxes around certain colors

Hello all, Sorry for asking such a basic question, I'm still getting used to OpenCV. I had a special instance where I have to draw bounding boxes around all the yellow blocks in the image. However, I had no way on how to approach this. Inside some yellow blocks, there are black squares, and I need to be able to detect those too. Is it possible to have one bounding box inside the other? How would I go about approaching this? All help would be greatly appreciated. Thanks!