The AOI inspection method is an automated visual examination technique that is used to detect flaws in printed circuit board assemblies (PCBAs). The AOI scans PCBAs with cameras and detects two kinds of failures: catastrophic failures, such as missing components, and quality failures, such as misshapen fillet or components that are skewed.