# ComfyUI Circle Detection [![Copus - Post](https://img.shields.io/badge/Copus-Post-00aaee)](https://www.copus.io/work/93ba7f55a26845cd9666854a750a80f1) [![ComfyUI - Homepage](https://img.shields.io/badge/ComfyUI-Homepage-aa00ee)](https://github.com/comfyanonymous/ComfyUI) ## Introduction Next to AI mathematical methods can be used for the detection of objects like a circle. This node is using Hough's transform for the detection of circles in an given image. ## Usage After installation the node can be find in the node menu Add Node > 🧬 Circle Detection Nodes > 🔬 Circle Detection For showing data one can use following node Add Node > 🧬 Circle Detection Nodes > 🗃 Circle Detection ## Version Previews version 0.0.0.1 ![Bildschirmfoto vom 2025-02-02 22-08-34](https://github.com/user-attachments/assets/60386026-9e15-4508-b6d9-dade02bb44d7) *Figure 1: Preview of workflow using the circle detection node* version 0.0.0.2 ![Bildschirmfoto vom 2025-02-03 20-06-43](https://github.com/user-attachments/assets/95ec4a2e-f0f6-4ba7-8a89-c3fdf6b1125f) *Figure 2: Preview of workflow using the circle detection node* version 0.0.0.3 ![Bildschirmfoto vom 2025-02-04 16-19-47](https://github.com/user-attachments/assets/93a799c4-1533-44fa-8334-0223221efcb2) *Figure 3: Preview of workflow using the circle detection node* ## Installation Use the ComfyUI Manager for the installation of the node. You can also move int the directory ComfyUI/custom_nodes git clone https://github.com/zentrocdot/ComfyUI_Circle_Detection ## Remarks The first image created is the one, where on can see, which circles are found. The seond image looks like a mas, but it is not for the moment. It is still an blank image, where the found circles are filled drawn. ## References [1] https://docs.opencv.org/3.4/d4/d70/tutorial_hough_circle.html