Wrap function for createTrackBar and colorDetection