A program that detects elliptical shape in an image. The system pipeline :
- Downscaling an image for shorter processing time
- Convert the input image into an edge map using Canny edge detection
- Two pass connected components labelling to remove small blobs and noises
- Run ellipse fitting with RANSAC on the image
python detector.py --<filename> --display
python detector.py --<dirname> -- display
- Single JPG image.
- A folder of JPG images.
- Python 3.8
- OpenCV
- matplotlib