Are there ways to detect semicircle on these images?
Tried many ways and all give bad results
Example:
image = cv2.imread('path_here', 0)
output = image.copy()
ret, thresh = cv2.threshold(image, 0, 255, cv2.THRESH_OTSU)
circles = cv2.HoughCircles(thresh, cv2.HOUGH_GRADIENT, 1, 110,
param1=25, param2=5, minRadius=9, maxRadius=10)
detected_circles = np.uint16(np.around(circles))
for (x, y, r) in detected_circles[0, :]:
cv2.circle(output, (x, y), r, (0, 0, 0), 2)
cv2.circle(output, (x, y), 2, (0, 255, 255), 2)
cv2.imshow('output', output)
cv2.waitKey(0)
cv2.destroyAllWindows()