AOI systems explained: how to choose the right automated optical inspection solution