Deep learning for visual understanding