title: How to detect two different colors using `cv2.inRange` in Python-OpenCV?
body: <p>How can I define "lower" and "upper" range of two different color, such as red and blue (because red and blue are not next to each other in the HSV color)</p>
  
  <p>This one belongs to red:</p>
  
  <pre><code>lower_red = np.array([160,20,70])
  upper_red = np.array([190,255,255])
  </code></pre>
  
  <p>and this one belongs to blue:</p>
  
  <pre><code>lower_blue = np.array([101,50,38])
  upper_blue = np.array([110,255,255])
  </code></pre>
  
  <p>I tried to combine them using if condition or make their own function but not work, can you guys show me the solution?</p>
  
  <p>P/s: OpenCV in Python</p>