shuttle detection with contours