title: Tracking white color using python opencv
body: <p>I would like to track white color using webcam and python opencv. I already have the code to track blue color.</p>
  
  <pre><code>_, frame = cap.read()
  hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
  
  # define range of blue color in HSV
  lower_blue = np.array([110,100,100])
  upper_blue = np.array([130,255,255])
  
  #How to define this range for white color
  
  
  # Threshold the HSV image to get only blue colors
  mask = cv2.inRange(hsv, lower_blue, upper_blue)
  # Bitwise-AND mask and original image
  res = cv2.bitwise_and(frame,frame, mask= mask)
  
  cv2.imshow('frame',frame)
  cv2.imshow('mask',mask)
  cv2.imshow('res',res)
  </code></pre>
  
  <p>what <em>values</em> should I give as lower bound and upper bound <strong><em>to track white color</em></strong>!!??
  I tried changing values and I got other colors but no luck with the white color!!!</p>
  
  <blockquote>
    <blockquote>
      <p>is that HSV values or BGR values specified as lower and upper bounds???</p>
    </blockquote>
  </blockquote>
  
  <p>PS : I must get the last result as a <strong>binary image</strong> for further processing!!</p>
  
  <p>Please help me !!!</p>