本論文主要發展一套應用於同軸連接器的自動光學檢測系統(Automatic Optical Inspection)。檢測項目包括缺件檢測、外徑尺寸及形變檢測。缺件利用自適性二值化和水平、垂直投影進行檢測。外徑尺寸及形變採用霍夫圓轉換檢測，且利用投影後的資訊降低運算量。最後實驗驗證自動光學缺陷檢測系統的準確性及演算法的效能。 This thesis develops an Automatic Optical Inspection (AOI) system, which inspects defects of coaxial connectors. Inspected defects include missing, outside dimension and deformation of the coaxial connector. By adaptive thresholding and computing horizontal and vertical projections of images, the missing of coaxial connector can be inspected. Outside dimension and deformation are inspected by using image processing and improved Hough circle transform, which reduces the computation by projection information. Finally, the experimental results demonstrate the effectiveness of the proposed AOI system.