Difficulty in detecting the outer circle with cv2.HoughCircles
问题 I am trying to detect the outer boundary of the circular object in the images below: I tried OpenCV's Hough Circle, but the code is not working for every image. I also tried to adjust parameters such as minRadius and maxRadius in Hough Circle but its not working on every image. The aim is to detect the object from the image and crop it. Expected output: Source code: import imutils import cv2 import numpy as np from matplotlib import pyplot as plt image = cv2.imread("path to the image i have