ReplyMay 5, 2025
In this example all pipes are circles so thats why I used cv.HoughCircles. Now there are some pipes that are squares or rectangle-like so you might want to also add a check for cv.findContours() and cv.approxPolyDP() which can help to identify objects of different shapes.