Sharing visual features for multiclass and multiview object detection