changed the color segmentation threshold