Text this: PCB inspection for missing or misaligned components using background subtraction