Learning from videos to understand the world