Fix variable names in python color spaces tutorial

pull/5301/head
Valentin Tsatskin 9 years ago
parent 9c3f95782d
commit a28a556f60
  1. 2
      doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown

@ -62,7 +62,7 @@ while(1):
upper_blue = np.array([130,255,255]) upper_blue = np.array([130,255,255])
# Threshold the HSV image to get only blue colors # Threshold the HSV image to get only blue colors
mask = cv2.inRange(hsv, lower_green, upper_green) mask = cv2.inRange(hsv, lower_blue, upper_blue)
# Bitwise-AND mask and original image # Bitwise-AND mask and original image
res = cv2.bitwise_and(frame,frame, mask= mask) res = cv2.bitwise_and(frame,frame, mask= mask)

Loading…
Cancel
Save