Foundations of Deep Learning for Robotic Visual Recognition