A New Mechanism for Collision Detection in Human–Robot Collaboration using Deep Learning Techniques