I have a mechanism for a mechanical wrist with disks that allow for the device to bend in various angles. I have a camera facing the disks from the front view. When the wrist is bent, it can create an ellipse shape that the camera captures. I need to be able to detect and localize the ellipse shape the bent disk makes. I would prefer to modify a pretrained OpenCV model to do this task. The image is an example of what I want the model to do.An example of the disks in the mechanical wrists having been localized and outlined
I have tried using OpenCV’s contour detection tools, but I can’t seem to find a way to isolate just the disk ellipses.