Learning pedestrian detection from virtual worlds