Computer-Aided Visual Inspection in Assembly