Mitsubishi Electric says it has developed a technology to detect absent-mindedness and other cognitive distractions in drivers when their vehicles are travelling straight, using a type of machine-learning algorithm known as deep learning.