Can you be more specific on what the problem is? What libraries are you using?
Do you have a set of values and the code doesn't seem to apply them? Probably need to see code. OpenCV has an example here :
http://opencv-python-tutroals.readth...lorspaces.html if you want a sanity check.
Do you not know which HSV values to use? In the past we've written debug code with trackbars / sliders to adjust value in real time.
Do you have problems finding a set of HSV values that work in all (most) conditions? Start reading here
https://docs.google.com/presentation...asjzZ-eXbQ/pub at slide 17
Or check out the method we used
https://www.google.com/url?sa=t&rct=...NPCexg&cad=rja, page 6