Guide pins, sensors and counters each check one thing. Fine on a stable line.
On manual assembly, with many variants and errors in the order of steps, it runs out.
New guide: the types of poka-yoke, the devices behind them, and where a camera fits in.
Link in comment👇