Pedestrian and Vehicle Monitoring from Traffic Videos