hi i want to detect only the holes through the disk, i have tried canny edge detection and the detecting up the edges, and then filtering out them. And i was missing some of the holes with this because of the noise in background.
either prepare proper optical inspection, which requires controlling the environment and lighting, or throw AI at the problem.
the environment looks professional. I would recommend hiring someone with the required formal education and experience, or engaging another company to solve this.
previously (10d ago): https://forum.opencv.org/t/circle-detection/16408
thanks for your prompt reply. I will try, improving the light condition
Nobody can advise you without data samples and your code. Maybe, a smoothing your image by cv2.blur before calling the Canny operator solves the problem. Maybe better parameters of the Canny. Maybe, you need deep edge detector before Canny. Maybe, better camera…