Deep learning for visual perception