make the used hsv chanels in detector optional