Artificial vision method for automatic robot code generation in robotic manufacturing for automotive industry