Ellipse detection has a very wide range of applications in the field of object detection, especially in the geometric size detection of inclined microporous parts. However, due to the processing methods applied to the parts, there are certain defects in the features. The existing ellipse detection methods do not meet the needs of rapid detection due to the problems of false detection and time consumption. This article proposes a method of quickly obtaining defective ellipse parameters based on vision. It mainly uses the approximation principle of circles to repair defective circles, then combines this with morphological processing to obtain effective edge points, and finally uses the least squares method to obtain elliptical parameters. By simulating the computer-generated images, the results demonstrate that the center fitting error of the simulated defect ellipses with major and minor axes of 600 and 400 pixels is less than 1 pixel, the major and minor axis fitting error is less than 3 pixels, and the tilt angle fitting error is less than 0.1°. Further, experimental verification was conducted on the engine injection hole. The measurement results show that the surface size deviation was less than 0.01 mm and the angle error was less than 0.15°, which means the parameters of defective ellipses can obtained quickly and effectively. It is thus suitable for engineering applications, and can provide visual guidance for the precise measurement of fiber probes.