AOI is an initialism that stands for Automated Optical Inspection.  A camera moves rapidly over all areas of the board looking for issue that would affect the quality of the PCB.  If an issue is found, the board is either crossed out or flagged for follow up by a human operator.  

AOI does not detect internal flaws in a PCB.

» PCB Design Glossary