Transferring human intelligence to automated machinery so machines are able to detect the production of a single defective part and immediately stop themselves while asking for help