---
title: "Comment by ROSHAN GEORGE on \"Counting Pipes: Automation with Computer Vision\" | Hashnode"
description: "Hi I recently came across your work and I have to say — I’m really impressed by what you’ve built! It’s clean, effective, and aligns closely with something I’ve"
url: "https://hashnode.com/posts/counting-pipes-automation-with-computer-vision/626f6dc0238a6ff3d7dc77f7/comment/6810a66885606a5873ee4781"
---

[Discussion](https://hashnode.com/posts/counting-pipes-automation-with-computer-vision/626f6dc0238a6ff3d7dc77f7)

Comment [Counting Pipes: Automation with Computer Vision](https://hashnode.com/posts/counting-pipes-automation-with-computer-vision/626f6dc0238a6ff3d7dc77f7)

[ROSHAN GEORGE](https://hashnode.com/@roshangeo)

[Apr 29, 2025](https://hashnode.com/posts/counting-pipes-automation-with-computer-vision/626f6dc0238a6ff3d7dc77f7/comment/6810a66885606a5873ee4781)

Hi I recently came across your work and I have to say — I’m really impressed by what you’ve built! It’s clean, effective, and aligns closely with something I’ve been exploring as well.

I’m currently working on a similar concept, but applied to a more complex problem involving highly irregular arrangements of pipes. As you can see, the bundle contains nested and differently sized pipes, which adds layers of complexity to the counting and analysis process.

I’d love to hear your thoughts on how you might approach a setup like this, and whether any of your existing tools or logic could be extended to handle such cases.

Looking forward to hearing from you!

Best regards, Roshan George

[Dr. Juan Zamora-Mora](https://hashnode.com/@doczamora)

[May 5, 2025](https://hashnode.com/posts/counting-pipes-automation-with-computer-vision/626f6dc0238a6ff3d7dc77f7/comment/6810a66885606a5873ee4781#reply-681850b430c324779d571e50)

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.
