Skip to content

Commit 79100ef

Browse files
committed
Merge pull request opencv#5301 from vtsatskin:patch-1
2 parents 8660d55 + a28a556 commit 79100ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ while(1):
6262
upper_blue = np.array([130,255,255])
6363

6464
# Threshold the HSV image to get only blue colors
65-
mask = cv2.inRange(hsv, lower_green, upper_green)
65+
mask = cv2.inRange(hsv, lower_blue, upper_blue)
6666

6767
# Bitwise-AND mask and original image
6868
res = cv2.bitwise_and(frame,frame, mask= mask)

0 commit comments

Comments
 (0)